mirror of
https://github.com/NanmiCoder/cc-haha
synced 2026-07-17 13:13:35 +08:00
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
This commit is contained in:
parent
40852a804d
commit
816d1a351d
@ -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'
|
||||
}
|
||||
>
|
||||
<div className="flex min-w-0 items-center gap-2 overflow-hidden rounded-lg border border-[var(--color-memory-border)] bg-[var(--color-memory-surface)] px-3 py-2">
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user