mirror of
https://github.com/anomalyco/opencode.git
synced 2026-04-27 00:05:26 +00:00
align title with dev
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user