From ea322fd885bd386313bdb7e342d0e3709f813aa3 Mon Sep 17 00:00:00 2001 From: Hannes Rudolph Date: Mon, 8 Sep 2025 11:56:31 -0600 Subject: [PATCH] fix(ui/chat): align 'Thinking' header with Task Completed; restore body padding (px-3); make lightbulb icon yellow --- .../src/components/chat/ReasoningBlock.tsx | 22 +++++++++++-------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/webview-ui/src/components/chat/ReasoningBlock.tsx b/webview-ui/src/components/chat/ReasoningBlock.tsx index 06e4f6b11e..fbb34344b3 100644 --- a/webview-ui/src/components/chat/ReasoningBlock.tsx +++ b/webview-ui/src/components/chat/ReasoningBlock.tsx @@ -72,18 +72,22 @@ export const ReasoningBlock = ({ content, ts, isStreaming, isLast, metadata }: R const secondsLabel = t("chat:reasoning.seconds", { count: seconds }) return ( -
-
- - {t("chat:reasoning.thinking")} - - +
+
+
+ + {t("chat:reasoning.thinking")} +
+ + {secondsLabel}
-
- -
+ {(content?.trim()?.length ?? 0) > 0 && ( +
+ +
+ )}
) }