From e7db64456392fd36c791fb511c233a118e632f3f Mon Sep 17 00:00:00 2001 From: Jiayuan Zhang Date: Fri, 15 May 2026 06:25:24 +0200 Subject: [PATCH] fix(chat): make session dropdown width track its trigger (MUL-2223) (#2630) The chat header dropdown was capped at max-w-80 while the trigger could grow unbounded with the current chat title, so the popup appeared narrower than the trigger and titles inside were truncated early. Cap the trigger at max-w-96 and let the popup inherit the trigger width via --anchor-width with the same upper bound, so the two stay visually consistent and only truncate at extreme lengths. Co-authored-by: multica-agent --- packages/views/chat/components/chat-window.tsx | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/packages/views/chat/components/chat-window.tsx b/packages/views/chat/components/chat-window.tsx index d6935eb81..266f46b30 100644 --- a/packages/views/chat/components/chat-window.tsx +++ b/packages/views/chat/components/chat-window.tsx @@ -907,7 +907,7 @@ function SessionDropdown({ return ( <> - + {triggerAgent && ( )} - {title} + {title} {otherSessionRunning ? ( $.window.another_running)} @@ -933,7 +933,10 @@ function SessionDropdown({ ) : null} - + {sessions.length === 0 ? (
{t(($) => $.window.no_previous)}