diff options
author | Runxi Yu <me@runxiyu.org> | 2025-02-15 09:34:23 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-02-15 09:35:52 +0800 |
commit | 68ff4bed58b4cd1f4080cf95e145403b01d63fb4 (patch) | |
tree | f75e1c0f8bdeb00848ef818bead4fd374e153261 | |
parent | resources.go: Add .gitattributes too (diff) | |
download | forge-68ff4bed58b4cd1f4080cf95e145403b01d63fb4.tar.gz forge-68ff4bed58b4cd1f4080cf95e145403b01d63fb4.tar.zst forge-68ff4bed58b4cd1f4080cf95e145403b01d63fb4.zip |
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.
Diffstat (limited to '')
-rw-r--r-- | static/style.css | 5 |
1 files changed, 5 insertions, 0 deletions
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; |