]> git.openstreetmap.org Git - rails.git/blobdiff - vendor/assets/leaflet/leaflet.css
Patch Leaflet bug
[rails.git] / vendor / assets / leaflet / leaflet.css
index aee2bb9f750ab8d6c55df5fc00c84b9338a95adb..e6fb4908eb8e872ad35b424a195d878cb277ebfd 100644 (file)
        width: 0;\r
        height: 0;\r
        }\r
+/* workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=888319 */\r
+.leaflet-overlay-pane svg {\r
+       -moz-user-select: none;\r
+       }\r
 \r
 .leaflet-tile-pane    { z-index: 2; }\r
 .leaflet-objects-pane { z-index: 3; }\r
        box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.2);\r
        white-space: nowrap;\r
        overflow: hidden;\r
+       -moz-box-sizing: content-box;\r
+            box-sizing: content-box;\r
        }\r
 .leaflet-control-scale-line:not(:first-child) {\r
        border-top: 2px solid #777;\r
 \r
 .leaflet-touch .leaflet-control-attribution,\r
 .leaflet-touch .leaflet-control-layers,\r
-.leaflet-touch .leaflet-control-zoom {\r
+.leaflet-touch .leaflet-bar {\r
        box-shadow: none;\r
        }\r
 .leaflet-touch .leaflet-control-layers,\r
-.leaflet-touch .leaflet-control-zoom {\r
+.leaflet-touch .leaflet-bar {\r
        border: 4px solid rgba(0,0,0,0.3);\r
        }\r
 \r