fix(dashboard): give the hero rings and sections room to breathe

On desktop the four rings sat 12px apart and the briefing section
followed the greeting row at the intra-block distance — the band read
top-heavy against its own symmetric padding. Rings now space at 24px
on md+ and the section gap steps up to match the card inset, so the
head zone and the briefing zone separate at the same rhythm the
padding sets.
This commit is contained in:
Marc-André Bombeck committed 2026-07-07 13:19:18 +02:00
1 parent c54386e95b
commit 8a4521156b
1 file changed
+5 -2
@@ -254,7 +254,10 @@ export function DashboardHero({
"min-h-[8.75rem] p-4 md:min-h-[9.5rem] md:p-6",
)}
>
<div className="flex h-full flex-col gap-4">
{/* Vertical rhythm: the section gap (greeting/ring row → briefing)
reads one step larger than the intra-block spacing so the two
zones separate cleanly; the card's own padding stays symmetric. */}
<div className="flex h-full flex-col gap-4 md:gap-6">
<div className="flex flex-col gap-4 md:flex-row md:items-center md:justify-between">
<div className="min-w-0 flex-1 space-y-3">
{/* Greeting leads the typographic hierarchy: larger + heavier
@@ -320,7 +323,7 @@ export function DashboardHero({
collapses; missing selected rings render nothing. */}
<div
data-slot="dashboard-hero-rings"
className="flex shrink-0 flex-wrap items-center justify-center gap-3 md:justify-end"
className="flex shrink-0 flex-wrap items-center justify-center gap-4 md:justify-end md:gap-6"
>
{scoreRings.map((ring) => (
<div