diff --git a/src/components/charts/health-chart.tsx b/src/components/charts/health-chart.tsx index 774f30e5e..66e0a22b7 100644 --- a/src/components/charts/health-chart.tsx +++ b/src/components/charts/health-chart.tsx @@ -1825,6 +1825,7 @@ export function HealthChart({ {/* v1.4.25 W3 — the mood chart's YAxis is pinned to five mood-score ticks ([1,2,3,4,5]), which Recharts diff --git a/src/components/dashboard/recent-workouts-tile.tsx b/src/components/dashboard/recent-workouts-tile.tsx index 7fcf86efc..2eee9a39d 100644 --- a/src/components/dashboard/recent-workouts-tile.tsx +++ b/src/components/dashboard/recent-workouts-tile.tsx @@ -84,6 +84,7 @@ export function RecentWorkoutsTile() { icon={Activity} size="sm" title={t("dashboard.recentWorkouts.title")} + titleAs="h2" right={ - +

diff --git a/src/components/insights/tile-header.tsx b/src/components/insights/tile-header.tsx index 3ceb76aad..a5fdf21f8 100644 --- a/src/components/insights/tile-header.tsx +++ b/src/components/insights/tile-header.tsx @@ -54,9 +54,11 @@ interface TileHeaderProps { /** * Render the title as a real heading element (e.g. `"h2"`) instead of the * default presentational `CardTitle` div, keeping the identical CardTitle - * styling. Use only where the tile owns the ONLY heading on its subpage - * branch (the recovery blocks) so the `h1 → h2` outline stays nested with no - * skipped level. Default (unset) keeps every other tile a plain CardTitle. + * styling. Use on tiles that sit directly under the page's `h1` — a single + * owning block (the recovery blocks) or a grid of sibling tiles (dashboard + * tiles, insights overview grids) both nest correctly as `h1 → h2, h2, …`; + * just don't nest a `titleAs="h2"` tile inside another heading's own + * subsection. Default (unset) keeps every other tile a plain CardTitle. */ titleAs?: "h2"; }