Skip to content

Commit

Permalink
Fix code tags inside admonotion blocks in dark mode, closes #1519
Browse files Browse the repository at this point in the history
  • Loading branch information
josevalim committed Feb 20, 2022
1 parent fe44eda commit 63cd58a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions assets/less/night/content/general.less
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,8 @@ a.view-source {
img[src*="#gh-light-mode-only"] {
display: none;
}

blockquote code {
background-color: @codeBackground;
border: 1px solid darken(@codeBackground, 10%);
}
2 changes: 1 addition & 1 deletion assets/less/night/night.less
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ body.night-mode {

blockquote {
border-left: 3px solid rgb(68, 68, 76);
background-color: rgb(44, 44, 49)
background-color: rgb(44, 44, 49);
}
}

Large diffs are not rendered by default.

Large diffs are not rendered by default.

0 comments on commit 63cd58a

Please sign in to comment.