summaryrefslogtreecommitdiff
path: root/src/scss/blog.scss
diff options
context:
space:
mode:
Diffstat (limited to 'src/scss/blog.scss')
-rw-r--r--src/scss/blog.scss11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/scss/blog.scss b/src/scss/blog.scss
index c4d3df2..3a59a04 100644
--- a/src/scss/blog.scss
+++ b/src/scss/blog.scss
@@ -10,8 +10,15 @@
}
#post {
- code span {
- margin-left: 0 !important;
+ max-width: 100%;
+
+ pre {
+ code span {
+ margin-left: 0 !important;
+ }
+
+ overflow-x: scroll;
+ max-width: $page-width - $outer-gap * 2 - $inner-gap;
}
img {