Header round 6 (owner): the top bar grows to 60px — aligned to the sidebar's LH band

h-10 → h-15 (60px) in both the chat header and the /chat/new draft
header. 60px is an alignment, not just a size: it equals the sidebar's
LH wordmark band, so the header's border-b continues that band's bottom
edge as one horizontal line across the app — the sidebar's 'New session'
row begins exactly where the chat column's chrome ends.

Live: header border-b at y=60, wordmark band bottom at y=60. Gates:
typecheck, lint, 469/469.
This commit is contained in:
amosblomqvist
2026-09-17 13:52:18 +03:00
parent 70ddc21610
commit c451f4f144
2 changed files with 11 additions and 5 deletions
+8 -4
View File
@@ -584,10 +584,14 @@ export function Chat({
{/* The top bar is its own block (owner, top-fade round 4): in flow
above the scroller on the plain page background — no gradient. Its
bottom outline (border-b border-border) matches the one that
separates the left sidebar — same width, same color (owner, r5). h-10, not py-2: the toggle (a size-9 icon button)
renders only while the sidebar is CLOSED — an auto-height row
would collapse when it disappears and slide the title + chip up. */}
<header className="flex h-10 items-center gap-3 border-b border-border px-3">
separates the left sidebar — same width, same color (owner, r5).
h-15 (60px), not py-2: the toggle (a size-9 icon button) renders
only while the sidebar is CLOSED — an auto-height row would
collapse when it disappears and slide the title + chip up.
60px is an ALIGNMENT, not just a size: it equals the sidebar's
LH wordmark band, so the header's border-b continues that
band's bottom edge as one line across the app (owner, round 6). */}
<header className="flex h-15 items-center gap-3 border-b border-border px-3">
<SidebarToggle />
<div className="min-w-0 flex-1 truncate font-title text-2xl tracking-tight">{title}</div>
{/* The plan chip (owner, plan-placement round): session-level