diff --git a/src/components/ui/card.tsx b/src/components/ui/card.tsx index 4f880247e..5db913006 100644 --- a/src/components/ui/card.tsx +++ b/src/components/ui/card.tsx @@ -2,12 +2,25 @@ import * as React from "react"; import { cn } from "@/lib/utils"; +/** + * v1.4.33 IW9 — Card padding normalised on `p-4 md:p-6`. + * + * Pre-v1.4.33 the shadcn defaults shipped `py-6` + `px-6` (uniform + * 24 px on 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. Matching the dashboard token here gives + * the whole app a single card-padding contract. + * + * Refs `.planning/round-v1433-audit-polish.md` §4.1 + Win 4. + */ function Card({ className, ...props }: React.ComponentProps<"div">) { return (
) {
) { return (
); @@ -75,7 +88,10 @@ function CardFooter({ className, ...props }: React.ComponentProps<"div">) { return (
);