Skip to content

Commit

Permalink
fix: move bottom controls below panels
Browse files Browse the repository at this point in the history
fix #2103
  • Loading branch information
yohanboniface committed Sep 6, 2024
1 parent dd79e8f commit d019a26
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions umap/static/umap/map.css
Original file line number Diff line number Diff line change
Expand Up @@ -1382,8 +1382,8 @@ span.popup-icon {
.leaflet-container .leaflet-control-zoom {
margin-inline-start: 10px;
}
.leaflet-top {
z-index: calc(var(--zindex-panels) - 1);
.leaflet-top, .leaflet-bottom {
z-index: var(--zindex-controls);
}
.leaflet-popup-content {
min-width: 200px;
Expand Down
1 change: 1 addition & 0 deletions umap/static/umap/vars.css
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
--zindex-icon-active: 450;
--zindex-tooltip: 445;
--zindex-panels: 440;
--zindex-controls: 430;
--zindex-dragover: 410;

--block-shadow: 0 1px 7px var(--color-mediumGray);
Expand Down

0 comments on commit d019a26

Please sign in to comment.