From b5a605cf31cb8006cb3c48146fd0f9f3694afe58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Bombeck?= Date: Sun, 17 May 2026 14:23:24 +0200 Subject: [PATCH] fix(insights): HealthScoreCard fills the hero-row full height MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Swap the inner column from a flex stack to a 7-row grid with a 1fr slack row on the provenance accordion. The hero strip's row already stretches the card via items-stretch, the card already declares h-full, and the disclaimer keeps mt-auto for the no-grid render path. The remaining work was teaching the inner column to actually distribute the recovered vertical slack — flex with mt-auto only on the disclaimer parked the recovered space under the disclaimer instead of between the body and the footer, so the visible card ended a divider-line above the left column's bottom edge. --- src/components/insights/health-score-card.tsx | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/components/insights/health-score-card.tsx b/src/components/insights/health-score-card.tsx index ca10c9621..f2a3725b8 100644 --- a/src/components/insights/health-score-card.tsx +++ b/src/components/insights/health-score-card.tsx @@ -256,7 +256,16 @@ export function HealthScoreCard({ "flex h-full flex-col", )} > -
+ {/* v1.4.37 W4a item 1 — swap the inner column from `flex + flex-col` to a 7-row grid so the recovered vertical slack + (when the parent hero-row stretches the card past the + natural content height) collects on row 6 (the provenance + accordion) instead of clumping under the disclaimer. The + score number stays anchored at the top, the disclaimer at + the bottom, and the card fills the row down to the + "Wirkt mein Medikament?" chip — closing Marc's "Karte hört + bei der Trennlinie auf" report against v1.4.36. */} +