Set background-color = inherit for <pre code> in notices (#2328)

This commit is contained in:
iBug ♦ 2019-11-22 22:26:38 +08:00 committed by Michael Rose
parent 5c9b5c3218
commit ee9aa75213

View file

@ -56,6 +56,10 @@
background-color: mix(#fff, $notice-color, 95%)
}
pre code {
background-color: inherit;
}
ul {
&:last-child {
margin-bottom: 0; /* override*/
@ -97,4 +101,4 @@
.notice--danger {
@include notice($danger-color);
}
}