fix(map): show zoom-in hint on layer toggles hidden by zoom threshold (#913)

This commit is contained in:
Elie Habib
2026-03-03 16:02:04 +04:00
committed by GitHub
parent 694b237bc2
commit 349e4b6017
2 changed files with 26 additions and 0 deletions

View File

@@ -12844,6 +12844,20 @@ a.prediction-link:hover {
background: var(--bg);
}
.deckgl-layer-toggles .layer-toggle.zoom-hidden .toggle-label {
opacity: 0.45;
}
.deckgl-layer-toggles .layer-toggle.zoom-hidden::after {
content: '🔍+';
position: absolute;
top: -4px;
right: 2px;
font-size: 7px;
opacity: 0.65;
pointer-events: none;
}
.deckgl-layer-toggles .layer-toggle input[type="checkbox"] {
-webkit-appearance: none;
appearance: none;