fix(tui): restructure Sidebar component to be scrollable (#3946)

This commit is contained in:
OpeOginni
2025-11-05 18:33:30 +01:00
committed by GitHub
parent 37e564139f
commit 69a499f807

View File

@@ -40,7 +40,8 @@ export function Sidebar(props: { sessionID: string }) {
return (
<Show when={session()}>
<box flexShrink={0} gap={1} width={40}>
<scrollbox width={40}>
<box flexShrink={0} gap={1} paddingRight={1}>
<box>
<text fg={theme.text}>
<b>{session().title}</b>
@@ -170,6 +171,7 @@ export function Sidebar(props: { sessionID: string }) {
</box>
</Show>
</box>
</scrollbox>
</Show>
)
}