From 86e7bd000c2b13fb1f3fbf946d61a6ed16b6fa87 Mon Sep 17 00:00:00 2001 From: Julius Marminge Date: Thu, 12 Feb 2026 15:43:05 -0800 Subject: [PATCH] Align Electron drag headers and sidebar branding spacing - Update `ChatView` so Electron uses a fixed 52px drag titlebar, including empty-thread state. - Make `DiffPanel` header use the same Electron drag-region sizing. - Consolidate Sidebar drag-region into branding row and remove separate spacer div. - Co-authored-by: codex --- apps/web/src/components/ChatView.tsx | 8 ++++++-- apps/web/src/components/DiffPanel.tsx | 2 +- apps/web/src/components/Sidebar.tsx | 6 +++--- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/apps/web/src/components/ChatView.tsx b/apps/web/src/components/ChatView.tsx index b37397e9ff4f293d984b3f8818426bb16c37e644..38d95b89987a45538d0b0ab7828d59c8e99f4fa8 100644 --- a/apps/web/src/components/ChatView.tsx +++ b/apps/web/src/components/ChatView.tsx @@ -863,7 +863,11 @@ export default function ChatView() { if (!activeThread) { return (
- {isElectron &&
} + {isElectron && ( +
+ No active thread +
+ )}

Select a thread or create a new one to get started.

@@ -877,7 +881,7 @@ export default function ChatView() {
{/* Top bar */}

{activeThread.title}

diff --git a/apps/web/src/components/DiffPanel.tsx b/apps/web/src/components/DiffPanel.tsx index 72e11aa4a5849ae96aee651f78f0c90b2ffb525f..59ad7303c1655de66d88d91dc33f25c8754d4f56 100644 --- a/apps/web/src/components/DiffPanel.tsx +++ b/apps/web/src/components/DiffPanel.tsx @@ -8,7 +8,7 @@ export default function DiffPanel() {