aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--_includes/post.njk2
-rw-r--r--css/main.css5
2 files changed, 6 insertions, 1 deletions
diff --git a/_includes/post.njk b/_includes/post.njk
index 4b45e29..ebdb822 100644
--- a/_includes/post.njk
+++ b/_includes/post.njk
@@ -17,7 +17,7 @@ tag: post
<title>{{ title }}</title>
</head>
- <body style="overflow-y: scroll">
+ <body style="overflow-y: scroll; overflow-x: scroll">
<a href="/" style="margin-left:1.5rem; display: block; position: fixed; "class="link article-m" >
߸
</a>
diff --git a/css/main.css b/css/main.css
index 21bc0d6..129e63b 100644
--- a/css/main.css
+++ b/css/main.css
@@ -63,6 +63,11 @@
text-decoration: none;
}
+pre {
+ overflow-x: scroll;
+ font-size: 14px;
+}
+
body {
padding: 0;
margin: 0;