X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/30ad58c01ff8acae377cfd974fcc94d6898722da..f4c64084a610e199d7ca4de42fb2cf70f3aa9b27:/vendor/assets/leaflet/leaflet.css diff --git a/vendor/assets/leaflet/leaflet.css b/vendor/assets/leaflet/leaflet.css index 18ca7a14f..dce84046d 100644 --- a/vendor/assets/leaflet/leaflet.css +++ b/vendor/assets/leaflet/leaflet.css @@ -14,10 +14,12 @@ .leaflet-image-layer, .leaflet-layer { /* TODO optimize classes */ position: absolute; + left: 0; } .leaflet-container { overflow: hidden; outline: 0; + -ms-touch-action: none; } .leaflet-tile, .leaflet-marker-icon, @@ -122,7 +124,7 @@ .leaflet-control-zoom a { background-color: rgba(255, 255, 255, 0.75); } -.leaflet-control-zoom a, .leaflet-control-layers a { +.leaflet-control-zoom a, .leaflet-control-layers-toggle { background-position: 50% 50%; background-repeat: no-repeat; display: block; @@ -156,12 +158,12 @@ -webkit-border-radius: 8px; border-radius: 8px; } -.leaflet-control-layers a { +.leaflet-control-layers-toggle { background-image: url(images/layers.png); width: 36px; height: 36px; } -.leaflet-touch .leaflet-control-layers a { +.leaflet-touch .leaflet-control-layers-toggle { width: 44px; height: 44px; } @@ -179,7 +181,7 @@ color: #333; background: #fff; } -.leaflet-control-layers input { +.leaflet-control-layers-selector { margin-top: 2px; position: relative; top: 1px;