summaryrefslogtreecommitdiff
path: root/$template.html
diff options
context:
space:
mode:
authorTom Smeding <tom@tomsmeding.com>2023-10-22 22:35:43 +0200
committerTom Smeding <tom@tomsmeding.com>2023-10-22 22:35:43 +0200
commitd19cc60f10a55af6a2e77a673ff70248ec7af149 (patch)
treeb98a1ac554345c54d4278d2afdf401078eebba82 /$template.html
parent99891f6982d25adfe64eaac2b4dbf146e6bfcb42 (diff)
template: Wrap <pre> contents
Diffstat (limited to '$template.html')
-rw-r--r--$template.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/$template.html b/$template.html
index 950b2bf..c340ecd 100644
--- a/$template.html
+++ b/$template.html
@@ -65,6 +65,8 @@ blockquote, pre {
background-color: #f2e8e8;
font-family: inherit;
font-size: inherit;
+ white-space: pre-wrap;
+ word-wrap: anywhere;
}
/* Make code within pre render correctly; markdown produces this */
pre > code {