fix(dashboard): clip the tile card bound on a pathological value

The headline value span is shrink-0 whitespace-nowrap so it never
truncates a digit — correct. A worst-case very wide value could still
push the card's content past its grid column and break the layout. Add
overflow-hidden to the tile card wrapper so a pathological value clips at
the card bound rather than the grid, without re-introducing truncation of
the number for realistic readings.
This commit is contained in:
Marc-André Bombeck committed 2026-06-02 10:10:39 +02:00
1 parent aeb72d1a08
commit ecf4f06870
1 file changed
+1 -1
+1 -1
View File
@@ -238,7 +238,7 @@ export function TrendCard({
};
return (
<div className="bg-card border-border flex h-full w-full min-w-0 flex-col rounded-xl border p-4 md:p-6">
<div className="bg-card border-border flex h-full w-full min-w-0 flex-col overflow-hidden rounded-xl border p-4 md:p-6">
{/* v1.4.25 W20a — single-line discipline + deterministic height for
the heading row so the value row below sits at the same baseline
across every tile. The label is locale-abbreviated upstream (see