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 jesuswasrasta committed Jul 8, 2020
1 parent 3199cbf commit 0387bc9
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 0387bc9

Please sign in to comment.