From: Benno Schulenberg Date: Wed, 19 Aug 2026 09:05:00 +0000 (+0200) Subject: css: widen the text column on the news page by fourteen percent X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=26ad049b424e2f37a801f1810d4a2193e0d38f68;p=nano-editor.git css: widen the text column on the news page by fourteen percent This comes closest to the intended width of most news items (on a wide-enough screen). Also, do not wrap text inside tags. --- diff --git a/style.css b/style.css index 904ef61..0b08c2a 100644 --- a/style.css +++ b/style.css @@ -49,6 +49,10 @@ a:active { color: var(--nano-a-inverted-color); } +tt { + text-wrap-mode: nowrap; +} + * { box-sizing: border-box; } @@ -108,7 +112,7 @@ div#news ul.details { flex-basis: 100%; flex-grow: 1; flex-shrink: 0; - max-width: 500px; + max-width: 570px; margin-top: 1em; margin-bottom: 0; padding-right: 0.5em;