From bfd4b96807a5d70f6b9bc3f12ceb7557bfcd1352 Mon Sep 17 00:00:00 2001 From: David Larlet Date: Fri, 27 Oct 2023 13:37:17 -0400 Subject: [PATCH] Better responsive alignment of topbar icons and texts --- umap/static/umap/map.css | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/umap/static/umap/map.css b/umap/static/umap/map.css index 83bf00df..4b4b4348 100644 --- a/umap/static/umap/map.css +++ b/umap/static/umap/map.css @@ -454,16 +454,22 @@ ul.photon-autocomplete { .leaflet-container .leaflet-control-edit-save:before, .leaflet-container .leaflet-control-edit-cancel:before { display: inline-block; - width: 24px; + width: 19px; height: 24px; background-position: -50px -122px; background-repeat: no-repeat; background-image: url('./img/16-white.svg'); vertical-align: middle; content: ' '; + text-align: center; +} +.leaflet-container .leaflet-control-edit-disable span, +.leaflet-container .leaflet-control-edit-save span, +.leaflet-container .leaflet-control-edit-cancel span { + margin-left: 4px; } .leaflet-container .leaflet-control-edit-save:before { - background-position: -2px -25px; + background-position: -1px -26px; } .leaflet-container .leaflet-control-edit-disable:before { background-position: -50px -25px;