From e8cdac58e551f5c4444a6ff293eaad8e4923856e Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Mon, 28 Nov 2022 22:49:30 +0000 Subject: [PATCH] js: Don't word-wrap the status bar With word-wrapping disabled, long status-bar texts fall off the right-hand end rather than wrapping onto an invisible second line. This is less confusing because it makes the overflow more obvious. I've also turned on "text-overflow: ellipsis" for extra obviousness. Finally, this also the need to explicitly set the height of the status bar, not that that was doing any harm. --- html/jspage.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/html/jspage.pl b/html/jspage.pl index 2a1af66..03e3912 100755 --- a/html/jspage.pl +++ b/html/jspage.pl @@ -246,8 +246,9 @@ EOF #statusbar { overflow: hidden; - height: 1.2em; text-align: left; + white-space: nowrap; + text-overflow: ellipsis; background: #d8d8d8; border-left: 2px solid #c8c8c8; border-top: 2px solid #c8c8c8;