Skip to content

Commit

Permalink
Set background-color = inherit for <pre code> in notices (mmistakes#2328
Browse files Browse the repository at this point in the history
)
  • Loading branch information
iBug authored and kamil-adam committed Mar 15, 2021
1 parent 032aaf2 commit 75f8b94
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion _sass/minimal-mistakes/_notices.scss
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@
background-color: mix(#fff, $notice-color, 95%)
}

pre code {
background-color: inherit;
}

ul {
&:last-child {
margin-bottom: 0; /* override*/
Expand Down Expand Up @@ -97,4 +101,4 @@

.notice--danger {
@include notice($danger-color);
}
}

0 comments on commit 75f8b94

Please # to comment.