Skip to content

Commit 4f576e6

Browse files
committed
Visual fixes
1 parent c41a8e9 commit 4f576e6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

webview-ui/src/components/chat/ReasoningBlock.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export const ReasoningBlock = ({ content, isStreaming, isLast }: ReasoningBlockP
5353
<Lightbulb className="w-4" />
5454
<span className="font-bold text-vscode-foreground">{t("chat:reasoning.thinking")}</span>
5555
{elapsed > 0 && (
56-
<span className="text-sm text-vscode-descriptionForeground tabular-nums">{secondsLabel}</span>
56+
<span className="text-sm text-vscode-descriptionForeground mt-0.5">{secondsLabel}</span>
5757
)}
5858
</div>
5959
<div className="flex items-center gap-2">
@@ -65,11 +65,11 @@ export const ReasoningBlock = ({ content, isStreaming, isLast }: ReasoningBlockP
6565
/>
6666
</div>
6767
</div>
68-
{(content?.trim()?.length ?? 0) > 0 && (
68+
{(content?.trim()?.length ?? 0) > 0 && !isCollapsed && (
6969
<div
7070
ref={contentRef}
7171
className="border-l border-vscode-descriptionForeground/20 ml-2 pl-4 pb-1 text-vscode-descriptionForeground">
72-
{!isCollapsed && <MarkdownBlock markdown={content} />}
72+
<MarkdownBlock markdown={content} />
7373
</div>
7474
)}
7575
</div>

0 commit comments

Comments
 (0)