From 2a68a3850c4f8b5994b06361a0515c3d028e9473 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Thu, 7 Dec 2023 21:44:13 -0800 Subject: [PATCH] Replace source block's margin with padding This should help reduce the amount of overlap there is between the source code and the scroll bar that the browser shows if a source block isn't wide enough. --- src/scss/include/_components.scss | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/scss/include/_components.scss b/src/scss/include/_components.scss index 0ccdf18..5e519ad 100644 --- a/src/scss/include/_components.scss +++ b/src/scss/include/_components.scss @@ -2,6 +2,8 @@ pre.src { overflow: auto; + margin: 0; + padding: 1rem; } .content-wrapper {