fix(sidebar): constrain the root height so the bottom dock stays fixed

This commit is contained in:
newbie 2026-11-12 20:42:25 +08:00
parent 8ceb5e2b4c
commit 93a1e1268a
2 changed files with 4 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@ -3,6 +3,8 @@
flex-direction:column; flex-direction:column;
flex:1; flex:1;
width:100%; width:100%;
height:100%;
max-height:100%;
min-width:0; min-width:0;
min-height:0; min-height:0;
display:flex; display:flex;
@ -105,7 +107,7 @@
and scrolls, so no row is ever cut in half (a halved row reads as an overlap) and scrolls, so no row is ever cut in half (a halved row reads as an overlap)
and nothing from the tree is painted underneath the dock. */ and nothing from the tree is painted underneath the dock. */
.wgDock { .wgDock {
flex:0 1 auto; flex:0 0 auto;
min-width:0; min-width:0;
/* A plain pixel floor (bucket row + workspace row + padding). A content-based /* A plain pixel floor (bucket row + workspace row + padding). A content-based
floor would outweigh max-height, letting the dock grow to the whole session floor would outweigh max-height, letting the dock grow to the whole session