align title with dev

This commit is contained in:
Sebastian Herrlinger
2026-03-26 23:23:10 +01:00
parent 7ac11a1b91
commit b958ffa930

View File

@@ -21,7 +21,16 @@ export function Sidebar(props: { sessionID: string; overlay?: boolean }) {
paddingRight={2} paddingRight={2}
position={props.overlay ? "absolute" : "relative"} position={props.overlay ? "absolute" : "relative"}
> >
<box flexShrink={0} paddingRight={1}> <scrollbox
flexGrow={1}
verticalScrollbarOptions={{
trackOptions: {
backgroundColor: theme.background,
foregroundColor: theme.borderActive,
},
}}
>
<box flexShrink={0} gap={1} paddingRight={1}>
<TuiPluginRuntime.Slot <TuiPluginRuntime.Slot
name="sidebar_title" name="sidebar_title"
mode="single_winner" mode="single_winner"
@@ -38,17 +47,6 @@ export function Sidebar(props: { sessionID: string; overlay?: boolean }) {
</Show> </Show>
</box> </box>
</TuiPluginRuntime.Slot> </TuiPluginRuntime.Slot>
</box>
<scrollbox
flexGrow={1}
verticalScrollbarOptions={{
trackOptions: {
backgroundColor: theme.background,
foregroundColor: theme.borderActive,
},
}}
>
<box flexShrink={0} gap={1} paddingRight={1}>
<TuiPluginRuntime.Slot name="sidebar_content" session_id={props.sessionID} /> <TuiPluginRuntime.Slot name="sidebar_content" session_id={props.sessionID} />
</box> </box>
</scrollbox> </scrollbox>