From 9138c95f2999440fb7c1b17dfc10996103daf613 Mon Sep 17 00:00:00 2001 From: daudix Date: Tue, 23 Jul 2024 05:22:18 +0300 Subject: [PATCH] Set background color on code blocks Handle the scenario in which syntax highlighting is disabled --- sass/_code.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/sass/_code.scss b/sass/_code.scss index 8a07150..b48b15f 100644 --- a/sass/_code.scss +++ b/sass/_code.scss @@ -19,6 +19,7 @@ pre { margin: 1rem 0 1rem; box-shadow: var(--edge-highlight), var(--shadow); border-radius: var(--rounded-corner); + background-color: var(--fg-muted-1); padding: 1rem; max-width: 100vw; overflow: auto;