diff --git a/src/app/insights/__tests__/assessment-spine-order.test.ts b/src/app/insights/__tests__/assessment-spine-order.test.ts index 66fb9f720..dd121c8a5 100644 --- a/src/app/insights/__tests__/assessment-spine-order.test.ts +++ b/src/app/insights/__tests__/assessment-spine-order.test.ts @@ -176,11 +176,11 @@ describe("assessment presentation contract", () => { ); expect(cardSource).toContain( - 'className="animate-insight-in gap-2 py-3 md:py-4"', + 'className="animate-insight-in gap-1.5 py-3 md:py-4"', ); expect(cardSource).toContain('className="text-foreground text-sm"'); expect(moodSource).toContain( - 'className="animate-insight-in gap-2 py-3 md:py-4"', + 'className="animate-insight-in gap-1.5 py-3 md:py-4"', ); expect(moodSource).toContain('data-slot="insight-assessment"'); expect(moodBodySource).toContain( diff --git a/src/components/insights/mood/mood-insights-sections.tsx b/src/components/insights/mood/mood-insights-sections.tsx index 19a5156e0..054bc861a 100644 --- a/src/components/insights/mood/mood-insights-sections.tsx +++ b/src/components/insights/mood/mood-insights-sections.tsx @@ -288,7 +288,7 @@ export function MoodInsightsSections({ // v1.13.1 — match the canonical `gap-1.5` + `pb-1` heading-to-body // rhythm the other assessment cards use, so the heading sits tight // above its body instead of floating ~16-24 px above it. - className="animate-insight-in gap-2 py-3 md:py-4" + className="animate-insight-in gap-1.5 py-3 md:py-4" >