diff --git a/web/src/stats.ts b/web/src/stats.ts index bf568bbd..43ea9632 100644 --- a/web/src/stats.ts +++ b/web/src/stats.ts @@ -324,7 +324,9 @@ function renderSummary(summary: Summary): void { const mostActive = document.getElementById("stats-most-active"); if (mostActive) { if (summary.most_active_day) { - mostActive.innerHTML = `${summary.most_active_day} (${summary.most_active_day_minutes} min)${summary.most_active_weekday}`; + // Date and minutes on their own lines: one long line wraps mid-token + // ("(148 / min)") in the narrow stat card. + mostActive.innerHTML = `${summary.most_active_day}(${summary.most_active_day_minutes} min)${summary.most_active_weekday}`; } else { mostActive.textContent = "—"; }