diff --git a/src/components/shared/page-header.tsx b/src/components/shared/page-header.tsx index 75e7d16..d3d55a5 100644 --- a/src/components/shared/page-header.tsx +++ b/src/components/shared/page-header.tsx @@ -19,6 +19,10 @@ interface PageHeaderProps { * eyebrow, and an action slot. Use `variant="gradient"` for hero strips on * landing pages and detail headers; the plain variant remains the default so * existing call-sites stay unchanged. + * + * Mobile-aware: below sm (640px) the header stacks vertically (title above + * actions) instead of side-by-side, and the description hides when actions + * are present (to preserve scroll real estate). Title font scales down too. */ export function PageHeader({ title, @@ -33,27 +37,35 @@ export function PageHeader({ return (
{description}
} ++ {description} +
+ ) : null} {kpiLine ? (