aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-02-15 09:34:23 +0800
committerRunxi Yu <me@runxiyu.org>2025-02-15 09:35:52 +0800
commit68ff4bed58b4cd1f4080cf95e145403b01d63fb4 (patch)
treef75e1c0f8bdeb00848ef818bead4fd374e153261
parentresources.go: Add .gitattributes too (diff)
downloadforge-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.css5
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;