Skip to content

Commit 30589a6

Browse files
authored
Merge pull request #37 from Jackass4life/copilot/fix-scroll-inside-scroll-window
Fix nested scrollbars in location popup
2 parents f42f12a + 1e74c2e commit 30589a6

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

static/css/map.css

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -372,8 +372,7 @@ html, body {
372372
}
373373

374374
.leaflet-popup-content {
375-
max-height: min(500px, 70vh);
376-
overflow-y: auto;
375+
overflow-y: visible;
377376
}
378377

379378
.leaflet-popup-tip {
@@ -575,6 +574,11 @@ html, body {
575574
box-shadow: 0 0 4px rgba(0,0,0,.3);
576575
}
577576

577+
.coloc-popup {
578+
max-height: min(500px, 70vh);
579+
overflow-y: auto;
580+
}
581+
578582
.coloc-header {
579583
font-size: 0.78rem;
580584
font-weight: 600;

0 commit comments

Comments
 (0)