From ad4fe3d783548b8f68a71aa3debae735fbe7d16c Mon Sep 17 00:00:00 2001 From: Bryan Van Deusen Date: Wed, 15 Apr 2026 07:11:08 -0400 Subject: [PATCH 01/13] feat(chat): center chat reading column and full-height context sidebar Replaces the full-variant flex layout with a single CSS grid owning the messages column, input bar, and context sidebar. Messages and input bar share a centered ~820px reading track (--chat-reading-width token) so the mic button can't get pushed off-screen on wide monitors, and the context sidebar spans grid-row 1/-1 so it runs the full height from the chat header down to the bottom edge instead of stopping above the input bar. Co-Authored-By: Claude Opus 4.6 --- frontend/src/assets/theme.css | 2 ++ frontend/src/components/ChatPanel.vue | 45 ++++++++++++++++++--------- 2 files changed, 33 insertions(+), 14 deletions(-) diff --git a/frontend/src/assets/theme.css b/frontend/src/assets/theme.css index 7b19fff..b72322f 100644 --- a/frontend/src/assets/theme.css +++ b/frontend/src/assets/theme.css @@ -54,6 +54,8 @@ --page-max-width: 1200px; --page-padding-x: 1rem; --sidebar-width: 260px; + --chat-reading-width: min(820px, 100%); + --chat-context-sidebar-width: 220px; --color-accent-warm: #b8860b; --color-accent-warm-light: #d4a017; --color-primary-solid: #7c3aed; diff --git a/frontend/src/components/ChatPanel.vue b/frontend/src/components/ChatPanel.vue index bb4ad18..1c8b40e 100644 --- a/frontend/src/components/ChatPanel.vue +++ b/frontend/src/components/ChatPanel.vue @@ -312,7 +312,7 @@ defineExpose({ focus, prefill, send }) @@ -528,18 +528,34 @@ defineExpose({ focus, prefill, send }) diff --git a/frontend/src/components/ChatPanel.vue b/frontend/src/components/ChatPanel.vue index 1c8b40e..4a60884 100644 --- a/frontend/src/components/ChatPanel.vue +++ b/frontend/src/components/ChatPanel.vue @@ -1,11 +1,6 @@