tui: hide header when sidebar is visible and window is narrow to maximize content area

This commit is contained in:
Dax Raad
2026-01-08 13:55:14 -05:00
parent 563d2f98d6
commit c8d93aa397

View File

@@ -887,7 +887,7 @@ export function Session() {
<box flexDirection="row">
<box flexGrow={1} paddingBottom={1} paddingTop={1} paddingLeft={2} paddingRight={2} gap={1}>
<Show when={session()}>
<Show when={!sidebarVisible()}>
<Show when={!sidebarVisible() || !wide()}>
<Header />
</Show>
<scrollbox