Improve hiding of text on zoom icons
[rails.git] / app / assets / stylesheets / leaflet.zoom.css.scss
index 22640643a8ac028d493a70fc570284ab42ebe9ac..26d83f5b7609134ce183f2508605bb61ea9971c1 100644 (file)
@@ -11,7 +11,9 @@
 
 .leaflet-control-zoomslider-in,
 .leaflet-control-zoomslider-out {
-  text-indent: -9999px;
+  text-indent: 100%;
+  white-space: nowrap;
+  overflow: hidden;
   outline-style: none;
 }