summaryrefslogtreecommitdiffstats
path: root/web/sass-files/sass/partials/_markdown.scss
diff options
context:
space:
mode:
Diffstat (limited to 'web/sass-files/sass/partials/_markdown.scss')
-rw-r--r--web/sass-files/sass/partials/_markdown.scss10
1 files changed, 9 insertions, 1 deletions
diff --git a/web/sass-files/sass/partials/_markdown.scss b/web/sass-files/sass/partials/_markdown.scss
index 7aa29d95d..732393ea1 100644
--- a/web/sass-files/sass/partials/_markdown.scss
+++ b/web/sass-files/sass/partials/_markdown.scss
@@ -20,6 +20,14 @@
.post-body--code {
position: relative;
+
+ pre {
+ margin-bottom: 0;
+ word-break: normal;
+ overflow: auto;
+ word-wrap: normal;
+ }
+
}
.post-body--code__language {
@@ -43,7 +51,7 @@
@include opacity(0.2);
}
code {
- white-space: pre-line;
+ white-space: pre;
}
}
.markdown__table {