aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Coquand <marcc0000@pm.me>2023-09-22 13:32:19 -0300
committerMarc Coquand <marcc0000@pm.me>2023-09-22 13:32:19 -0300
commit0ab38cfa6ae7805f8ad7e706b19066afe5fda634 (patch)
tree5e24e6f14ac1064bb1d797ad60168ed17f7051b3
parent75eee3bdbfecd65c1f7b08503e1375b778d7217f (diff)
downloadmccd.space-0ab38cfa6ae7805f8ad7e706b19066afe5fda634.tar.gz
mccd.space-0ab38cfa6ae7805f8ad7e706b19066afe5fda634.tar.bz2
mccd.space-0ab38cfa6ae7805f8ad7e706b19066afe5fda634.zip
Fix pre
-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;