From 9877b31f436326ceef912fcdae549e4eae5ae3c4 Mon Sep 17 00:00:00 2001 From: Yohan Boniface Date: Sat, 16 Jun 2018 12:58:48 +0200 Subject: [PATCH] Fix some touch related icon CSS issues fix #586 --- umap/static/umap/map.css | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/umap/static/umap/map.css b/umap/static/umap/map.css index 3abc447c..955988ec 100644 --- a/umap/static/umap/map.css +++ b/umap/static/umap/map.css @@ -28,6 +28,11 @@ width: 36px; background-size: 36px 68px; } +.leaflet-touch .leaflet-control-fullscreen a { + height: 36px; + width: 36px; + background-position: 0px 0px; +} .leaflet-fullscreen-on .leaflet-control-fullscreen a { background-position: 0 -32px; } @@ -1292,6 +1297,14 @@ a.add-datalayer:hover, .leaflet-inplace-toolbar { z-index: 10000!important; } +.leaflet-touch .leaflet-control-layers, .leaflet-touch .leaflet-bar { + border-width: 1px; +} +.leaflet-touch .leaflet-bar a { + width: 36px; + height: 36px; + line-height: 36px; +} /* ****** */ /* Mobile */