diff --git a/src/components/insights/mood/mood-distribution-chart.tsx b/src/components/insights/mood/mood-distribution-chart.tsx index 7e2f39915..e9cdd5160 100644 --- a/src/components/insights/mood/mood-distribution-chart.tsx +++ b/src/components/insights/mood/mood-distribution-chart.tsx @@ -53,7 +53,10 @@ export function MoodDistributionChart({ }); return ( -
+ // v1.15.14 — bounded compact height (was `aspect-[3/2] min-h-[180px]`, + // which ballooned the card on a wide viewport). A fixed band keeps this a + // tidy card rather than a dominant block, and matches the weekday sibling. +
{data.map((row) => ( ( - - ), + loading: () => , }, ); const MoodWeekdayChart = dynamic( @@ -55,9 +53,7 @@ const MoodWeekdayChart = dynamic( })), { ssr: false, - loading: () => ( - - ), + loading: () => , }, ); const MoodTimeOfDayChart = dynamic( diff --git a/src/components/insights/mood/mood-weekday-chart.tsx b/src/components/insights/mood/mood-weekday-chart.tsx index 3842a64cc..ab0e1777f 100644 --- a/src/components/insights/mood/mood-weekday-chart.tsx +++ b/src/components/insights/mood/mood-weekday-chart.tsx @@ -73,7 +73,11 @@ export function MoodWeekdayChart({ weekday }: { weekday: MoodWeekdayRow[] }) { return (
-
+ {/* v1.15.14 — bounded compact height (was `aspect-[3/2] min-h-[160px]`, + which derived its height off the full card width and ballooned on a + wide viewport). A fixed band keeps it a tidy card matching the + distribution sibling. */} +
- + {/* v1.15.14 — calmer target guide: a muted comment-grey dashed + line instead of the bright green, so it reads as a quiet + reference rather than competing with the bars. */} + - + {/* v1.15.14 — soften the saturated mood hues to a muted tint + (the level semantics still distinguish the bars; the fill no + longer shouts). Scoped here — the shared `--dracula-*` mood + tokens used by the heatmap/legend stay untouched. */} + {data.map((row) => (