summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDax Raad <[email protected]>2025-11-10 00:37:35 -0500
committerDax Raad <[email protected]>2025-11-10 00:37:35 -0500
commit5e53f054c69227cdf0edbc84e20c900022b6216e (patch)
tree4d539828fe6e724644ecd0070e3c8df3b1c47579
parent5d5e184329a95ebeeb6b9d58f4ec5c82f6876d49 (diff)
downloadopencode-5e53f054c69227cdf0edbc84e20c900022b6216e.tar.gz
opencode-5e53f054c69227cdf0edbc84e20c900022b6216e.zip
make reasoning parts less ugly
-rw-r--r--packages/opencode/src/cli/cmd/tui/routes/session/index.tsx26
1 files changed, 13 insertions, 13 deletions
diff --git a/packages/opencode/src/cli/cmd/tui/routes/session/index.tsx b/packages/opencode/src/cli/cmd/tui/routes/session/index.tsx
index 0fee6781b..284b9090b 100644
--- a/packages/opencode/src/cli/cmd/tui/routes/session/index.tsx
+++ b/packages/opencode/src/cli/cmd/tui/routes/session/index.tsx
@@ -951,23 +951,23 @@ function ReasoningPart(props: { last: boolean; part: ReasoningPart; message: Ass
<Show when={props.part.text.trim()}>
<box
id={"text-" + props.part.id}
+ paddingLeft={2}
marginTop={1}
- flexShrink={0}
+ flexDirection="row"
+ gap={1}
border={["left"]}
customBorderChars={SplitBorder.customBorderChars}
- borderColor={theme.backgroundPanel}
+ borderColor={theme.backgroundElement}
>
- <box paddingTop={1} paddingBottom={1} paddingLeft={2} backgroundColor={theme.backgroundPanel}>
- <code
- filetype="markdown"
- drawUnstyledText={false}
- streaming={true}
- syntaxStyle={syntax()}
- content={props.part.text.trim()}
- conceal={ctx.conceal()}
- fg={theme.text}
- />
- </box>
+ <code
+ filetype="markdown"
+ drawUnstyledText={false}
+ streaming={true}
+ syntaxStyle={syntax()}
+ content={props.part.text.trim()}
+ conceal={ctx.conceal()}
+ fg={theme.text}
+ />
</box>
</Show>
)