Token counts on the task detail Stats panel could overflow the metric box for large values (e.g. 10-digit comma-separated totals). Switched each metric to a container-query inline-size context and gave the value a fluid font-size of `clamp(13px, 13cqw, 28px)` so it grows to fill the box up to a 28px cap and shrinks down to 13px on narrow grid columns. Combined with `min-width: 0`, `overflow-wrap: anywhere`, and the metric's `overflow: hidden`, long values now stay within the box and short values render as large as they can without dominating. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
4.2 KiB
4.2 KiB