mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-01 02:06:41 +00:00
tui: hide header when sidebar is visible and window is narrow to maximize content area
This commit is contained in:
@@ -887,7 +887,7 @@ export function Session() {
|
|||||||
<box flexDirection="row">
|
<box flexDirection="row">
|
||||||
<box flexGrow={1} paddingBottom={1} paddingTop={1} paddingLeft={2} paddingRight={2} gap={1}>
|
<box flexGrow={1} paddingBottom={1} paddingTop={1} paddingLeft={2} paddingRight={2} gap={1}>
|
||||||
<Show when={session()}>
|
<Show when={session()}>
|
||||||
<Show when={!sidebarVisible()}>
|
<Show when={!sidebarVisible() || !wide()}>
|
||||||
<Header />
|
<Header />
|
||||||
</Show>
|
</Show>
|
||||||
<scrollbox
|
<scrollbox
|
||||||
|
|||||||
Reference in New Issue
Block a user