From 7a5dd62d2f799bd41982eeae04eb24a97c0a7430 Mon Sep 17 00:00:00 2001 From: Julius Marminge Date: Mon, 16 Feb 2026 11:09:43 -0800 Subject: [PATCH] Prevent ChatView header overflow with long thread titles - add `min-w-0` to ChatView container wrappers to allow proper flex shrinking - make thread title truncatable with `truncate` and `title` tooltip - keep action controls fixed-width with `shrink-0` to preserve header layout --- apps/web/src/components/ChatView.tsx | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/apps/web/src/components/ChatView.tsx b/apps/web/src/components/ChatView.tsx index 382d30b53664880cbf5e3d48dc15a82606088085..31b0204f90f378b3c4550e997686ae87d8654f58 100644 --- a/apps/web/src/components/ChatView.tsx +++ b/apps/web/src/components/ChatView.tsx @@ -969,7 +969,7 @@ export default function ChatView() { // Empty state: no active thread if (!activeThread) { return ( -
+
{isElectron && (
No active thread @@ -985,7 +985,7 @@ export default function ChatView() { } return ( -
+
{/* Top bar */}
-
-

{activeThreadTitle}

+
+

+ {activeThreadTitle} +

{activeProjectName && {activeProjectName}}
-
+
{activeProjectName && } {activeProjectName && }