mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-13 22:32:04 +00:00
Pins the load-bearing CSS class names introduced in W20a so a future refactor that drops the heading-row height lock or the value-row baseline alignment fails CI before reaching the dashboard. - Heading-row contract: `h-5` + `whitespace-nowrap` + `truncate` on the label slot. Defensive — the live label is locale-abbreviated upstream, but a missing short-key fallback or an unexpectedly long fallback string should still not wrap to a second line. - Value-row contract: `items-baseline` + `text-3xl` + `leading-none` across all five top-row tiles (Weight, BP, Pulse, Body Fat, Mood) so the digits land at the same y-coordinate inside the grid. - Arrow-slot contract: always rendered, end-anchored via `ml-auto`, fixed 16×16 frame; renders a muted "—" placeholder when slope30 is null so the slot width is deterministic across tiles. - i18n integrity: every `dashboard.*Short` key resolves to a non-empty string in en / de / fr / es / it / pl. Complements the broader i18n-locale-integrity test with a precise diagnostic for the dashboard tile namespace.