summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2014-01-27 20:17:49 +0100
committerDan McGee <dan@archlinux.org>2014-01-27 20:17:49 +0100
commit8af4d27cd67157b4f53286913d886d8896f7010a (patch)
tree4da998ae70040dfda41f940a8a640dd2789fa888
parent8a3553a7d23b541912ce55f24054f99fa586cfd2 (diff)
downloadarchweb-8af4d27cd67157b4f53286913d886d8896f7010a.tar.gz
archweb-8af4d27cd67157b4f53286913d886d8896f7010a.tar.xz
Fix linebreak issues in preformatted code blocks
In text blocks that have preformatted code, such as news items, we don't handle the overflow case very well. Let the browser do the job and wrap things if absolutely required. Fixes FS#35649. Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r--sitestatic/archweb.css1
1 files changed, 1 insertions, 0 deletions
diff --git a/sitestatic/archweb.css b/sitestatic/archweb.css
index b7d6e1e..53fa627 100644
--- a/sitestatic/archweb.css
+++ b/sitestatic/archweb.css
@@ -79,6 +79,7 @@ pre {
pre code {
display: block;
background: none;
+ overflow: auto;
}
blockquote {