diff --git a/src/scss/app.scss b/src/scss/app.scss index 8ffa1b6..5c8a684 100644 --- a/src/scss/app.scss +++ b/src/scss/app.scss @@ -241,7 +241,9 @@ article { } pre { - background: #1e1e1e; + background: #1e1e1e !important; + border-radius: 5px; + font-size: 0.9em !important; code mark, code mark span { background: #d8ba76 !important; diff --git a/src/ts/UI.ts b/src/ts/UI.ts index 1af87eb..3c9d9ed 100644 --- a/src/ts/UI.ts +++ b/src/ts/UI.ts @@ -114,10 +114,10 @@ class UI { return; } - let content = block.textContent; + /*let content = block.textContent; if (content.trim().split("\n").length > 1) { block.parentElement.classList.add("line-numbers"); - } + }*/ }); }