From db45048186be8ea55bc69f427013fa15e13cb80d Mon Sep 17 00:00:00 2001 From: Nathan GERDAY Date: Sun, 9 Aug 2026 18:20:53 +0200 Subject: [PATCH] fix(web): thread title button no longer eats the drag area The title button introduced in #5592 carried over `flex-1` from the previous

, so the clickable area stretched all the way toward the right-side controls. The title text didn't visibly expand, but the invisible button area meant the empty title bar could no longer be grabbed to move the window on existing/server threads. Drafts were unaffected because they still render a plain

. Drop `flex-1` from the server-thread title button. The button still has `min-w-0` so it can shrink, and the inner

keeps `truncate`, so long titles continue to ellipsize correctly. Fixes #5631 Generated with opencode-go/minimax-m3 --- apps/web/src/components/chat/ChatHeader.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/src/components/chat/ChatHeader.tsx b/apps/web/src/components/chat/ChatHeader.tsx index 39fe6daceb2..c5307ee7482 100644 --- a/apps/web/src/components/chat/ChatHeader.tsx +++ b/apps/web/src/components/chat/ChatHeader.tsx @@ -266,7 +266,7 @@ export const ChatHeader = memo(function ChatHeader({ aria-label={`Thread actions for ${activeThreadTitle}`} aria-haspopup="menu" onClick={openMenuFromTitle} - className="group/thread-title inline-flex min-w-0 flex-1 cursor-pointer items-center gap-1 rounded-sm text-left focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring" + className="group/thread-title inline-flex min-w-0 cursor-pointer items-center gap-1 rounded-sm text-left focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring" /> } >