From c5663689a323ba11fc2c23befc7dad123bf98719 Mon Sep 17 00:00:00 2001 From: tomasz1986 Date: Sat, 20 Feb 2021 19:28:08 +0900 Subject: [PATCH] gui: Handle info labels that are longer than available space (fixes #944) (#7386) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Apply to table headers the same code as already used for table data. This way, the headers will be either pushed to the next line, or cut with an ellipsis if the single word is too long. Signed-off-by: Tomasz WilczyƄski --- gui/default/assets/css/overrides.css | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gui/default/assets/css/overrides.css b/gui/default/assets/css/overrides.css index 7930d73b8..e449ab879 100644 --- a/gui/default/assets/css/overrides.css +++ b/gui/default/assets/css/overrides.css @@ -120,7 +120,8 @@ table.table-dynamic { word-break: break-all; } -table.table-condensed td { +table.table-condensed td, +table.table-condensed th { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; @@ -363,7 +364,8 @@ ul.three-columns li, ul.two-columns li { overflow-y: scroll; } - table.table-condensed td { + table.table-condensed td, + table.table-condensed th { /* for mobile phones to allow linebreaks in long repro folder/shared with * columns. */ white-space: normal;