Skip to content

Commit 588073b

Browse files
committed
Sync minimap lane scrolling fixes
1 parent c91a8de commit 588073b

1 file changed

Lines changed: 35 additions & 0 deletions

File tree

tools/minimap/ui/styles.css

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -588,7 +588,10 @@ h3 {
588588
.board-column {
589589
display: grid;
590590
gap: 8px;
591+
grid-template-rows: auto minmax(0, 1fr);
591592
min-width: 0;
593+
min-height: 0;
594+
height: 100%;
592595
scroll-snap-align: start;
593596
}
594597

@@ -632,6 +635,13 @@ h3 {
632635
display: grid;
633636
gap: 8px;
634637
min-height: 120px;
638+
min-width: 0;
639+
min-height: 0;
640+
height: 100%;
641+
max-height: 100%;
642+
overflow-y: auto;
643+
overscroll-behavior: contain;
644+
align-content: start;
635645
padding: 4px;
636646
border-radius: 18px;
637647
}
@@ -1315,6 +1325,21 @@ textarea {
13151325
overflow: visible;
13161326
}
13171327

1328+
.layout[data-board-layout="columns"] .board-groups {
1329+
overflow: visible;
1330+
}
1331+
1332+
.layout[data-board-layout="columns"] .board-columns,
1333+
.layout[data-board-layout="columns"] .board-column,
1334+
.layout[data-board-layout="columns"] .board-column-list {
1335+
height: auto;
1336+
max-height: none;
1337+
}
1338+
1339+
.layout[data-board-layout="columns"] .board-column-list {
1340+
overflow: visible;
1341+
}
1342+
13181343
.mobile-nav-button {
13191344
display: inline-flex;
13201345
align-items: center;
@@ -2247,6 +2272,16 @@ body[data-setup-mode="true"] .setup-side-stack {
22472272
max-height: calc(100vh - 36px);
22482273
}
22492274

2275+
.layout[data-board-layout="columns"] .board-groups {
2276+
overflow: hidden;
2277+
}
2278+
2279+
.layout[data-board-layout="columns"] .board-columns {
2280+
min-height: 100%;
2281+
height: 100%;
2282+
align-items: stretch;
2283+
}
2284+
22502285
.layout[data-board-layout="columns"] .editor-panel {
22512286
box-shadow: 0 28px 60px rgba(18, 30, 58, 0.24);
22522287
}

0 commit comments

Comments
 (0)