Skip to content

Commit 9f8e83c

Browse files
authored
fix(client): fix broken background in source code in light mode (#605)
1 parent 504eb1f commit 9f8e83c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

judgels-client/src/components/SourceCode/SourceCode.scss

+6
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ pre.source-code {
55
background-color: #f5f5f5 !important;
66
overflow-y: auto !important;
77

8+
.bp5-light & {
9+
.token {
10+
background-color: inherit !important;
11+
}
12+
}
13+
814
.bp5-dark & {
915
border-color: #202b33;
1016
background-color: #293742 !important;

0 commit comments

Comments
 (0)