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 mmistakes committed Nov 22, 2019
1 parent 6b48caf commit afc6719
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 afc6719

Please sign in to comment.