From 191fc3e3f3823ae6046c1c439e800565d7da4f16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Thu, 1 Dec 2022 14:42:55 +0100 Subject: Force search results to fit inside one line. --- mu4web/static/style.css | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/mu4web/static/style.css b/mu4web/static/style.css index 2164fbd..75d4a28 100644 --- a/mu4web/static/style.css +++ b/mu4web/static/style.css @@ -126,3 +126,12 @@ main pre { white-space: pre-wrap; border: 2px solid black; } + +table a { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + /* Ugly hack to force table to be reasonable width */ + display: inline-block; + max-width: calc(100vw/4); +} -- cgit v1.2.3