diff --git a/web/src/pages/DiagnosticsPage.tsx b/web/src/pages/DiagnosticsPage.tsx index 1146363c..65dd9808 100644 --- a/web/src/pages/DiagnosticsPage.tsx +++ b/web/src/pages/DiagnosticsPage.tsx @@ -176,14 +176,20 @@ export function DiagnosticsPage() { const heightPct = maxCost > 0 ? Math.max(2, (cost / maxCost) * 100) : 2; const dateLabel = day.date?.slice(5) || ''; // MM-DD return ( -
-
-
- {formatTokens((day.input_tokens || 0) + (day.output_tokens || 0))} · ${cost.toFixed(2)} +
+ {/* Bar track. The bar's percentage height needs a parent + with a definite height to resolve against, so the + column is h-full and the track takes the space left + over after the date label. */} +
+
+
+ {formatTokens((day.input_tokens || 0) + (day.output_tokens || 0))} · ${cost.toFixed(2)} +
{dateLabel}