refactor(ui): route the sleep-composition header through the tile header

The stage-composition chart card was the last insights tile with a
hand-rolled title row. It now uses the canonical header primitive; the
subtitle and the window toggles keep the shape they had, since the toggles
have to drop to their own row on a phone.

Also sweeps the last off-scale spacing: the two dense tiles inside a
recommendation move onto the sanctioned inner-tile step, and the not-found
button onto the scale. The banned twenty-pixel step is now absent from the
tree. The chart body is untouched.
This commit is contained in:
Marc-André Bombeck committed 2026-07-25 14:12:01 +02:00
1 parent 2decc37f07
commit 338808eb5f
4 files changed
+16 -8

No files matched your search

+1 -1
View File
@@ -49,7 +49,7 @@ export default async function NotFound() {
</div>
<Link
href="/"
className="bg-primary text-primary-foreground hover:bg-primary/90 inline-flex min-h-11 items-center justify-center rounded-md px-5 text-sm font-medium transition-colors"
className="bg-primary text-primary-foreground hover:bg-primary/90 inline-flex min-h-11 items-center justify-center rounded-md px-4 text-sm font-medium transition-colors"
>
{t("notFound.backToDashboard")}
</Link>