Improve hiding of text on zoom icons
authorTom Hughes <tom@compton.nu>
Fri, 23 Nov 2012 15:26:00 +0000 (15:26 +0000)
committerTom Hughes <tom@compton.nu>
Fri, 23 Nov 2012 15:26:00 +0000 (15:26 +0000)
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;
 }