aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rw-r--r--data/templates/styles.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/data/templates/styles.html b/data/templates/styles.html
index e744d83b8..d26a39cf9 100644
--- a/data/templates/styles.html
+++ b/data/templates/styles.html
@@ -14,7 +14,7 @@ body {
padding-top: $if(margin-top)$$margin-top$$else$50px$endif$;
padding-bottom: $if(margin-bottom)$$margin-bottom$$else$50px$endif$;
hyphens: auto;
- word-wrap: break-word;
+ overflow-wrap: break-word;
text-rendering: optimizeLegibility;
font-kerning: normal;
}
@@ -93,6 +93,7 @@ $endif$
pre code {
padding: 0;
overflow: visible;
+ overflow-wrap: normal;
}
.sourceCode {
background-color: transparent;