mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-17 07:42:23 +00:00
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 <noreply@anthropic.com>
This commit is contained in:
1 parent
3ad0649ff6
commit
3ad1a8ab25
1 file changed
+1
-1
@@ -250,7 +250,7 @@ export function HeroStrip({
|
||||
* disappears rather than collapsing to an empty flex shell.
|
||||
*/}
|
||||
{coachEnabled && (
|
||||
<div className="flex flex-wrap items-center gap-2">
|
||||
<div className="flex flex-wrap items-center justify-end gap-2">
|
||||
{/* 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
|
||||
|
||||
Reference in new issue
Block a user