From f9b4062dd55135f9ac2fc0f873c739936d05d67b Mon Sep 17 00:00:00 2001 From: Andy Charlwood Date: Sat, 14 Feb 2026 18:41:07 +0000 Subject: [PATCH] feat: US-014 - Responsive verification and fixes across breakpoints MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Fix grid overflow at mobile: add minWidth:0 + overflow:hidden to Card - Scale ParentSection h2 responsively (1.5rem mobile → 2.4rem desktop) - Make KPI grid single-column below 480px, 2-column above - Fix SubNav alignment: left-aligned on mobile, centered on md+ - Fix SubNav tileIds to match restructured dashboard sections - Add data-tile-id anchors to experience/skills/education subsections --- src/components/Card.tsx | 2 ++ src/components/DashboardLayout.tsx | 12 +++++++++--- src/components/ParentSection.tsx | 2 +- src/components/SubNav.tsx | 9 ++++----- src/components/tiles/PatientSummaryTile.tsx | 3 +-- 5 files changed, 17 insertions(+), 11 deletions(-) diff --git a/src/components/Card.tsx b/src/components/Card.tsx index a5e9fff..6f2b279 100644 --- a/src/components/Card.tsx +++ b/src/components/Card.tsx @@ -20,6 +20,8 @@ export function Card({ children, full, className, tileId }: CardProps) { boxShadow: isHovered ? 'var(--shadow-md)' : 'var(--shadow-sm)', transition: 'box-shadow 0.2s, border-color 0.2s', gridColumn: full ? '1 / -1' : undefined, + minWidth: 0, + overflow: 'hidden', } return ( diff --git a/src/components/DashboardLayout.tsx b/src/components/DashboardLayout.tsx index 58dc190..1959029 100644 --- a/src/components/DashboardLayout.tsx +++ b/src/components/DashboardLayout.tsx @@ -392,12 +392,18 @@ export function DashboardLayout() { {/* Two-column experience/skills grid */}
- - +
+ +
+
+ +
{/* Education subsection */} - +
+ +
diff --git a/src/components/ParentSection.tsx b/src/components/ParentSection.tsx index d5c151c..42f16ac 100644 --- a/src/components/ParentSection.tsx +++ b/src/components/ParentSection.tsx @@ -12,8 +12,8 @@ export function ParentSection({ title, children, className, tileId }: ParentSect return (

-
+
{kpis.map((kpi) => ( ))}