From f598b3a647deb76a9836c1444e1fc71b91fca171 Mon Sep 17 00:00:00 2001 From: Joseph Doherty Date: Sun, 17 May 2026 00:56:55 -0400 Subject: [PATCH] Stop dashboard table cells breaking whole words overflow-wrap: anywhere let the table layout shrink a column below its longest word, splitting tokens like "unconstrained" mid-word. Switch to break-word so a word only breaks when it genuinely cannot fit. Co-Authored-By: Claude Opus 4.7 (1M context) --- src/MxGateway.Server/wwwroot/css/dashboard.css | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/MxGateway.Server/wwwroot/css/dashboard.css b/src/MxGateway.Server/wwwroot/css/dashboard.css index fa5f4b8..5dc79d3 100644 --- a/src/MxGateway.Server/wwwroot/css/dashboard.css +++ b/src/MxGateway.Server/wwwroot/css/dashboard.css @@ -154,7 +154,9 @@ body.dashboard-body { min-height: 100vh; } } .dashboard-table td { max-width: 26rem; - overflow-wrap: anywhere; + /* break-word, not anywhere: only split a word when it genuinely cannot + fit, so the column keeps whole words like "unconstrained" intact. */ + overflow-wrap: break-word; } .dashboard-table tbody tr:last-child td { border-bottom: none; } .dashboard-table tbody tr:hover { background: #f3f6fd; }