summaryrefslogtreecommitdiff
path: root/sass
diff options
context:
space:
mode:
Diffstat (limited to 'sass')
-rw-r--r--sass/style.scss7
1 files changed, 7 insertions, 0 deletions
diff --git a/sass/style.scss b/sass/style.scss
index 50b4bef..e81f217 100644
--- a/sass/style.scss
+++ b/sass/style.scss
@@ -30,6 +30,13 @@ p {
-webkit-hyphens: auto; /* for Safari */
}
+code {
+ // Make sure we never wrap text in code blocks
+ hyphens: none;
+ overflow-wrap: normal;
+ word-break: keep-all;
+}
+
pre {
padding: 1rem;
font-size: 1rem;