fixup: hide home button in edit mode (#2562)
Some checks are pending
Test & Docs / tests (postgresql, 3.10) (push) Waiting to run
Test & Docs / tests (postgresql, 3.12) (push) Waiting to run
Test & Docs / lint (push) Waiting to run

The button is already on the edit bar.

Would be nicer to have a css transition (like for the bar itself), but
at least with this change it is not duplicated.
This commit is contained in:
Yohan Boniface 2025-03-13 16:52:41 +01:00 committed by GitHub
commit 1b058ce862
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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;
}