Skip to content

Commit

Permalink
fix(client): fix broken background in source code in light mode (#605)
Browse files Browse the repository at this point in the history
  • Loading branch information
fushar authored Feb 18, 2024
1 parent 504eb1f commit 9f8e83c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions judgels-client/src/components/SourceCode/SourceCode.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 9f8e83c

Please sign in to comment.