From b656b0d3ba7417a7d4d074236eba1e57fa71061e Mon Sep 17 00:00:00 2001 From: Brooklyn Nicholson Date: Thu, 20 Aug 2026 01:22:00 -0500 Subject: [PATCH] fix(desktop): the composer surface can no longer be widened by its own content MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The surface is a grid that never declared a column, and an implicit auto column sizes to its items' min-content. The coding status row (branch, PR chip, worktree path, counts — none of it wrapping) out-measured narrow panes and silently set the track wider than the surface; every w-full child laid out against that phantom width and overflow-hidden clipped the right edge, send button first. grid-cols-[minmax(0,1fr)] pins the track to the surface. --- apps/desktop/src/app/chat/composer/index.tsx | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/apps/desktop/src/app/chat/composer/index.tsx b/apps/desktop/src/app/chat/composer/index.tsx index fc4b05937f..98830fc672 100644 --- a/apps/desktop/src/app/chat/composer/index.tsx +++ b/apps/desktop/src/app/chat/composer/index.tsx @@ -321,7 +321,7 @@ export function ChatBar({ return onCancel() }, [activeQueueSessionKeyRef, onCancel]) - const { compactPill, stacked } = useComposerMetrics({ + const { compactPill, foldVoice, minimal, stacked } = useComposerMetrics({ composerDockRef, composerRef, composerSurfaceRef, @@ -984,7 +984,9 @@ export function ChatBar({ status: conversation.status }} disabled={disabled} + foldVoice={foldVoice} hasComposerPayload={hasComposerPayload} + minimal={minimal} onDictate={dictate} onQueue={queueDraft} onToggleAutoSpeak={handleToggleAutoSpeak} @@ -1242,7 +1244,13 @@ export function ChatBar({ {hudMode && busy && }
{input}
-
+
{controls}