From bb53085c21358cfcc972cd0006845f936b7babc0 Mon Sep 17 00:00:00 2001 From: rouggy Date: Sat, 18 Jul 2026 03:52:14 +0200 Subject: [PATCH] fix: wider space for country names in statistics --- frontend/src/components/StatsPanel.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/components/StatsPanel.tsx b/frontend/src/components/StatsPanel.tsx index b8a31f9..9048e7a 100644 --- a/frontend/src/components/StatsPanel.tsx +++ b/frontend/src/components/StatsPanel.tsx @@ -80,7 +80,7 @@ function StatTile({ label, value, sub }: { label: string; value: string; sub?: s // One series → one hue. The value is direct-labelled, so no reader ever depends // on a tooltip to get a number. -function HBars({ data, max, empty, share }: { data: Bucket[]; max?: number; empty: string; share?: boolean }) { +function HBars({ data, max, empty, share, labelWidth = 'w-20' }: { data: Bucket[]; max?: number; empty: string; share?: boolean; labelWidth?: string }) { // max is a display cap for long tails (top entities). Where EVERY row matters — // the operators of a multi-op — it is deliberately not set: a capped chart would // silently drop the 9th operator, and "who worked what" is the whole question. @@ -92,7 +92,7 @@ function HBars({ data, max, empty, share }: { data: Bucket[]; max?: number; empt
{top.map((d) => (
- {d.key} + {d.key}
- +