From 8b84b4e906cfb83c886e5b4d5779eb6da66a7816 Mon Sep 17 00:00:00 2001 From: Merge Sim Date: Mon, 7 Sep 2026 16:41:51 -0700 Subject: [PATCH] fix(native-chat): let the run summary size to its content MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `flex-1` on the truncating member list made it claim the header's slack, so `+N more` was pushed to the far right edge with a gap between it and the last member it counts. Without it the span still shrinks and truncates — `min-w-0` plus the default shrink is what drives the ellipsis, which is how the header worked before this branch — and the count now sits directly after the list at every width. --- src/renderer/src/components/native-chat/NativeChatToolRun.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/renderer/src/components/native-chat/NativeChatToolRun.tsx b/src/renderer/src/components/native-chat/NativeChatToolRun.tsx index ab3ac1fdccc..d1489cd876b 100644 --- a/src/renderer/src/components/native-chat/NativeChatToolRun.tsx +++ b/src/renderer/src/components/native-chat/NativeChatToolRun.tsx @@ -352,7 +352,7 @@ export function NativeChatToolRun({ `browser.open` and `tools/read`. The list stays one line and truncates as a whole rather than wrapping into a block — a header that grows to three rows stops reading as a header. */} - + {keyedSummaryMembers.map((member, index) => ( ) : ( - + {fallbackLabel} )}