diff options
author | Christian Schneppe <christian@pix-art.de> | 2018-02-05 20:34:16 +0100 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2018-02-05 20:34:16 +0100 |
commit | 8a2f48450a83790bf57ace1e3e3afbd6cf61e01f (patch) | |
tree | 37872b702de8950491bf5b99f297e3a14582e3e1 /src/main/assets/leaflet.css | |
parent | 7a70a6aefcd4cc518c6e46aacf49c8e4955552b2 (diff) |
update leaflet
Diffstat (limited to 'src/main/assets/leaflet.css')
-rw-r--r-- | src/main/assets/leaflet.css | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main/assets/leaflet.css b/src/main/assets/leaflet.css index fa5abca60..d1b47a125 100644 --- a/src/main/assets/leaflet.css +++ b/src/main/assets/leaflet.css @@ -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 { @@ -55,7 +56,10 @@ } .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; |