Skip to content

Commit

Permalink
Fix pre getting a dark background
Browse files Browse the repository at this point in the history
  • Loading branch information
adityatelange committed Mar 12, 2022
1 parent 1619043 commit ea52af0
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions assets/css/common/post-single.css
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,7 @@
border-radius: var(--radius);
}

.post-content .highlight:not(table),
.post-content pre {
.post-content .highlight:not(table) {
margin: 10px auto;
background: var(--hljs-bg) !important;
border-radius: var(--radius);
Expand Down Expand Up @@ -207,8 +206,8 @@
margin: auto 0;
padding: 10px;
color: rgb(213, 213, 214);
background: 0 0;
border-radius: 0;
background: var(--hljs-bg) !important;
border-radius: var(--radius);
overflow-x: auto;
word-break: break-all;
}
Expand Down

0 comments on commit ea52af0

Please # to comment.