From 701f2704f6b26d265044508ef03ca681d713a53a Mon Sep 17 00:00:00 2001 From: Yohan Boniface Date: Tue, 25 Jul 2023 11:43:59 +0200 Subject: [PATCH] Pool man responsive edit toolbar --- umap/static/umap/map.css | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/umap/static/umap/map.css b/umap/static/umap/map.css index 3126794c..870cac8a 100644 --- a/umap/static/umap/map.css +++ b/umap/static/umap/map.css @@ -1472,8 +1472,27 @@ a.add-datalayer:hover, /* Mobile */ /* ****** */ +@media all and (max-width: 980px) { + + .leaflet-container a.leaflet-control-edit-save, + .leaflet-container a.leaflet-control-edit-cancel { + text-indent: calc(100% - 20px); + width: 35px; + min-width: initial; + } + + .umap-main-edit-toolbox .umap-help-button, + .umap-main-edit-toolbox .share-status { + display: none; + } + +} @media all and (max-width: 480px) { + .umap-main-edit-toolbox .map-name { + max-width: 100px; + } + .leaflet-control-layers-expanded label { display: inline-block; margin-right: 10px;