commit 0a421fb08a170e20044816326fe63258defed2c0
parent 155d616e879b1d70eb62d6b125dc51f062028569
Author: myadzel <myadzel@gmail.com>
Date: Tue, 9 Dec 2025 14:43:36 +0300
fix layers config positioning (issue #1380)
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/lib/leaflet.control.layers.configure/style.css b/src/lib/leaflet.control.layers.configure/style.css
@@ -29,20 +29,20 @@
.leaflet-layers-dialog-wrapper {
position: absolute;
+ z-index: 3000;
top: 25px;
bottom: 25px;
max-width: 100%;
padding-bottom: 50px;
left: 50%;
+ transform: translateX(-50%);
}
.leaflet-layers-config-window {
position: relative;
- left: -50%;
background-color: white;
border-radius: 5px;
box-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
- z-index: 3000;
max-width: 100%;
overflow: hidden;
height: 100%;