From ef8039678453f3ffe3a89a1b3374d38d6ec49b87 Mon Sep 17 00:00:00 2001 From: Yohan Boniface Date: Tue, 11 Mar 2025 15:32:01 +0100 Subject: [PATCH] fixup: hide home button in edit mode The button is already on the edit bar. Would be nicer to have a css transition, but at least with this change it is not duplicated. --- umap/static/umap/map.css | 3 +++ 1 file changed, 3 insertions(+) diff --git a/umap/static/umap/map.css b/umap/static/umap/map.css index a54b1a14..87ee6c2d 100644 --- a/umap/static/umap/map.css +++ b/umap/static/umap/map.css @@ -257,6 +257,9 @@ html[dir="rtl"] .leaflet-tooltip-pane > * { .home-button:hover { background-color: var(--color-lighterGray); } +.umap-edit-enabled .home-button { + display: none; +}