From 3ad1a8ab25021852b1f87cad9e0e2f4880867c58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Bombeck?= Date: Sun, 14 Jun 2026 10:52:28 +0200 Subject: [PATCH] fix(insights): right-align the hero Coach action on mobile The overview hero's inline "Ask the Coach" button sat in a flex-wrap row with no justify-end, so it rendered left under the hero copy. Pin it to the right edge of the hero's left column. Co-Authored-By: Claude Opus 4.8 --- src/components/insights/hero-strip.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/insights/hero-strip.tsx b/src/components/insights/hero-strip.tsx index e412f2fc1..88fd6221c 100644 --- a/src/components/insights/hero-strip.tsx +++ b/src/components/insights/hero-strip.tsx @@ -250,7 +250,7 @@ export function HeroStrip({ * disappears rather than collapsing to an empty flex shell. */} {coachEnabled && ( -
+
{/* B2b wires this into the Coach drawer. The button is enabled whenever the parent supplies an `onAskCoach` handler; older parents that haven't adopted B2b yet