]> git.openstreetmap.org Git - rails.git/blobdiff - vendor/assets/leaflet/leaflet.css
Merge remote-tracking branch 'upstream/pull/1693'
[rails.git] / vendor / assets / leaflet / leaflet.css
index 41126abde97a6f84e7fca1b2340be7e0ba83b614..d1b47a1251c18df4c08b0b8c0b2c64522c90eab9 100644 (file)
@@ -47,6 +47,7 @@
 .leaflet-container .leaflet-tile-pane img,
 .leaflet-container img.leaflet-image-layer {
        max-width: none !important;
+       max-height: none !important;
        }
 
 .leaflet-container.leaflet-touch-zoom {
        }
 .leaflet-container.leaflet-touch-drag {
        -ms-touch-action: pinch-zoom;
-       }
+       /* Fallback for FF which doesn't support pinch-zoom */
+       touch-action: none;
+       touch-action: pinch-zoom;
+}
 .leaflet-container.leaflet-touch-drag.leaflet-touch-zoom {
        -ms-touch-action: none;
        touch-action: none;
        }
 .leaflet-control-layers-scrollbar {
        overflow-y: scroll;
+       overflow-x: hidden;
        padding-right: 5px;
        }
 .leaflet-control-layers-selector {