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