From 68ff4bed58b4cd1f4080cf95e145403b01d63fb4 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Sat, 15 Feb 2025 09:34:23 +0800 Subject: style.css: break-word for #readme Some browsers (chromium and webkit ones, it seems) don't break lines when they encounter a long token without spaces, such as long URLs. This causes the hbox to be overfull and it'll start scrolling which is annoying. --- static/style.css | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'static/style.css') diff --git a/static/style.css b/static/style.css index f5e82ea..e49a705 100644 --- a/static/style.css +++ b/static/style.css @@ -102,6 +102,11 @@ a:link, a:visited { padding: 2px; } +/* Readme word breaks to avoid overfull hboxes */ +#readme { + word-break: break-word; +} + /* Table styles */ table { border: var(--lighter-border-color) solid 1px; -- cgit v1.2.3