From 56d8a078932b7f6738956408698add0d698bca43 Mon Sep 17 00:00:00 2001 From: BBaoVanC Date: Sat, 2 Jul 2022 19:01:01 -0500 Subject: [PATCH] Fix syntax highlighting background --- assets/css/bobastyle.css | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/assets/css/bobastyle.css b/assets/css/bobastyle.css index 253cf7e..15e9d38 100644 --- a/assets/css/bobastyle.css +++ b/assets/css/bobastyle.css @@ -680,12 +680,15 @@ table.markdown { /* Code blocks */ -.highlight > .chroma { - background-color: var(--background-1) !important; +.highlight > .chroma { margin: 16px 0; overflow: auto; } +.chroma { + background-color: var(--background-1) !important; +} + :not(pre) > code { background-color: var(--background-2); /* Disable this because it overrides inline code blocks that are