From d4dcdb96bd1705f1d48cb578fc74f692b9f0cfa3 Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Sat, 27 Feb 2016 18:06:35 +0100 Subject: [PATCH] Force browsers to respect overflow of plugin output in tables refs #10820 --- modules/monitoring/public/css/tables.less | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/monitoring/public/css/tables.less b/modules/monitoring/public/css/tables.less index 93fa030f5..a0bdfa396 100644 --- a/modules/monitoring/public/css/tables.less +++ b/modules/monitoring/public/css/tables.less @@ -91,6 +91,12 @@ font-size: @font-size-small; margin: 0; white-space: pre-wrap; + // Long text in table cells overflows the table's width if the table's layout is not fixed. + // Thus overflow-wrap will not have any effect. But w/ the following we set a width of any value + // plus a min-width of 100% to consume the full width nonetheless which seems to always + // instruct browsers to not overflow the table. Ridiculous. + min-width: 100%; + width: 1em; } // Table for performance data in detail views