From 816d1a351d1926417fd37d2afdbf7e3b83dc46f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A8=8B=E5=BA=8F=E5=91=98=E9=98=BF=E6=B1=9F=28Relakkes?= =?UTF-8?q?=29?= Date: Sat, 16 May 2026 02:34:40 +0800 Subject: [PATCH] Match goal strip width to chat content The sticky active-goal strip was wider than the primary transcript column, making it feel detached from the chat surface. Constrain it to the same 860px content measure used by MessageList while preserving mobile side gutters. Constraint: Keep compact workspace-panel layout full width. Confidence: high Scope-risk: narrow Tested: cd desktop && bun run test -- --run src/pages/ActiveSession.test.tsx src/components/chat/MessageList.test.tsx Tested: cd desktop && bun run lint Tested: cd desktop && bun run build --- desktop/src/pages/ActiveSession.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desktop/src/pages/ActiveSession.tsx b/desktop/src/pages/ActiveSession.tsx index 9c835163..fac10881 100644 --- a/desktop/src/pages/ActiveSession.tsx +++ b/desktop/src/pages/ActiveSession.tsx @@ -226,7 +226,7 @@ function GoalStatusPanel({ className={ compact ? 'border-b border-[var(--color-border)] bg-[var(--color-surface-container-lowest)] px-4 py-2' - : 'mx-auto w-full max-w-[960px] px-6 py-2.5' + : 'mx-auto w-[calc(100%-2rem)] max-w-[860px] py-2.5' } >