tui: hide header when sidebar is visible and window is narrow to maximize content area
parent
563d2f98d6
commit
c8d93aa397
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue