Let the Scheduler's views shrink so the assistant can grow into them

Flex items default to min-height:auto, so a view holding a log ignored the height it was given
and pushed the composer out of a panel that clips instead of scrolling.
This commit is contained in:
Gmer4Lfe
2026-08-09 12:42:32 -04:00
parent 1370a29233
commit 455fb55857
2 changed files with 21 additions and 4 deletions
+6
View File
@@ -145,6 +145,12 @@ body.vv-fullscreen #displaybox { padding-left: 1rem !important; padding-top: .5r
#vv-sched-left { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-self: flex-start; }
#vv-sched-cards { flex: 1; }
#vv-sched-right { display: none; flex: 1 1 0; min-width: 0; flex-direction: column; overflow: hidden; align-self: flex-start; }
/* Flex items default to min-height:auto, which resolves to their content size — so a view with a
long log in it refuses to shrink. The assistant below it is flex-shrink:0 and this panel is a
fixed height with overflow:hidden, so whatever will not fit is not scrolled, it is clipped off
the bottom: the assistant's own composer, which is the last thing in the panel. vvFitRight()
sizes these explicitly and this is what lets that size actually take effect. */
#vv-sched-right > * { min-height: 0; }
#vv-sched-right.vv-panel-visible { display: flex; }
.vv-log-card { flex: 1; display: flex; flex-direction: column; padding-bottom: 0; }
.vv-log-right-pre { max-height: none; overflow-y: auto; }