aboutsummaryrefslogtreecommitdiff
path: root/page.js
diff options
context:
space:
mode:
authorRadu <radu@pml4t.net>2023-11-23 14:21:12 -0500
committerRadu <radu@pml4t.net>2023-11-23 14:48:56 -0500
commitef17d1d29212f5dc0218bfca1c30709e5a35f7b2 (patch)
treee2906ef5beb1eb1d705639016a3520c05b6ca1cb /page.js
parentaf1e27cb8bc97c12fbea83bc55b7debc582aec33 (diff)
Reduce spacing around code and round corners
Diffstat (limited to 'page.js')
-rw-r--r--page.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/page.js b/page.js
index 249dc9d..404a0da 100644
--- a/page.js
+++ b/page.js
@@ -38,6 +38,7 @@ function handleMsg() {
const code = block.slice(newlineIdx + 1);
const preEl = document.createElement("pre");
+ preEl.classList.add("code-block");
const codeEl = document.createElement("code");
if (lang) codeEl.classList.add("language-" + lang);
codeEl.appendChild(document.createTextNode(code));