From 9f8e83c4178c2a482f3402199322c1d0c5f4951c Mon Sep 17 00:00:00 2001 From: Ashar Fuadi Date: Sun, 18 Feb 2024 13:30:41 +0700 Subject: [PATCH] fix(client): fix broken background in source code in light mode (#605) --- judgels-client/src/components/SourceCode/SourceCode.scss | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/judgels-client/src/components/SourceCode/SourceCode.scss b/judgels-client/src/components/SourceCode/SourceCode.scss index 773d7d778..bd38b7fab 100644 --- a/judgels-client/src/components/SourceCode/SourceCode.scss +++ b/judgels-client/src/components/SourceCode/SourceCode.scss @@ -5,6 +5,12 @@ pre.source-code { background-color: #f5f5f5 !important; overflow-y: auto !important; + .bp5-light & { + .token { + background-color: inherit !important; + } + } + .bp5-dark & { border-color: #202b33; background-color: #293742 !important;