mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-09 13:01:00 +00:00
Pre-v1.4.33 the shadcn Card defaults shipped `py-6` + `px-6` (uniform 24 px every breakpoint) while the dashboard tile-strip + chart cards used `p-4 md:p-6` (16 px mobile, 24 px md+). Side-by-side on `/insights` the correlation cards + daily-briefing read as denser than the chart cards next to them; the visual reads as two card languages on the same page. This patch lifts the Card primitive (and its CardHeader / CardContent / CardFooter siblings) onto the same `p-4 md:p-6` token. Existing consumers that paint their own explicit padding continue to win through the `cn(...)` merge. Tests across `src/components/ui` / `src/components/insights/__tests__` / `src/components/charts/__tests__` (400 tests) still green. Refs .planning/round-v1433-audit-polish.md §4.1 + Win 4.