fixed popup auto-position with padding

This commit is contained in:
2026-06-11 17:10:19 +02:00
parent 38c48861a9
commit 2039f5d03d
2 changed files with 32 additions and 6 deletions

View File

@@ -1353,4 +1353,16 @@ select.form-input { cursor: pointer; }
@media (min-width: 769px) {
:root { --map-side-padding: 8px; }
}
}
/* ---------------------------------------------------------
6.3 Popup Content Height Limit on Mobile
Prevents Popup from growing beyond Screen when
Comments or Photos are toggled.
--------------------------------------------------------- */
.leaflet-popup-content {
max-height: 33vh;
max-width: 33vh;
overflow-y: auto;
}