From 420fa9e450f09ca10bc9938c2622d59b3dbd7608 Mon Sep 17 00:00:00 2001 From: Archit Rastogi <110993975+ArchitRastogi20@users.noreply.github.com> Date: Thu, 27 Aug 2026 01:17:23 +0530 Subject: [PATCH] fix: clip overflowing conference link in dashboard table (#790) The Conference cell is a grid item with the default min-width:auto, so a long unbroken URL forces the grid track wider than its minmax(140px, 1fr) size and bleeds visually into the Status column. Clip it with overflow:hidden/ellipsis and expose the full value via a title attribute. --- public/css/style.css | 17 +++++++- public/partials/dashboard.htm | 2 +- test/dashboard-conference-overflow.test.js | 49 ++++++++++++++++++++++ 3 files changed, 66 insertions(+), 2 deletions(-) create mode 100644 test/dashboard-conference-overflow.test.js diff --git a/public/css/style.css b/public/css/style.css index d9630ab..fff8934 100644 --- a/public/css/style.css +++ b/public/css/style.css @@ -4465,7 +4465,16 @@ textarea::selection { } .paper-table .cell-anon .anon-sub a { color: var(--ink-muted); border-bottom: 1px dotted var(--border-color); } .paper-table .cell-anon .anon-sub a:hover { color: var(--color); } -.paper-table .cell-conf { font-family: var(--font-mono); font-size: 13px; color: var(--color); } +.paper-table .cell-conf { + font-family: var(--font-mono); + font-size: 13px; + color: var(--color); + min-width: 0; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; +} +.paper-table .cell-conf span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .paper-table .cell-status { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; font-size: 14px; color: var(--color); } .paper-table .cell-status .status-line { display: inline-flex; align-items: center; gap: 8px; } .paper-table .cell-status .status-sub { flex-basis: 100%; font-size: 11px; line-height: 1.2; color: var(--ink-muted); } @@ -5295,6 +5304,12 @@ textarea::selection { gap: 6px; text-align: left; } + .paper-table .cell-conf { + max-width: 100%; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + } .paper-table .cell-views.num { text-align: left; } .paper-table .cell-views::before { content: '\f06e'; diff --git a/public/partials/dashboard.htm b/public/partials/dashboard.htm index 8b3eb3f..00250dc 100644 --- a/public/partials/dashboard.htm +++ b/public/partials/dashboard.htm @@ -195,7 +195,7 @@