From 75307696e2219961545ce91a6e7c7a53c117ddf8 Mon Sep 17 00:00:00 2001 From: auxten Date: Mon, 30 May 2022 20:38:32 +0800 Subject: [PATCH] Fix code background color while using white mode Fix code background color while using the white mode with code type markdown --- assets/css/_partial/_single/_code.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/css/_partial/_single/_code.scss b/assets/css/_partial/_single/_code.scss index 42583a9a..a573d465 100644 --- a/assets/css/_partial/_single/_code.scss +++ b/assets/css/_partial/_single/_code.scss @@ -30,10 +30,10 @@ pre { } code, pre, .highlight table, .highlight tr, .highlight td { - background: $code-background-color; + background: $code-background-color !important; [theme=dark] & { - background: $code-background-color-dark; + background: $code-background-color-dark !important; } }