mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-22 19:55:11 +00:00
tui: hide header when sidebar is visible and window is narrow to maximize content area
This commit is contained in:
parent
563d2f98d6
commit
c8d93aa397
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue