Set background-color = inherit for <pre code> in notices (#2328)
This commit is contained in:
parent
5c9b5c3218
commit
ee9aa75213
1 changed files with 5 additions and 1 deletions
|
@ -56,6 +56,10 @@
|
||||||
background-color: mix(#fff, $notice-color, 95%)
|
background-color: mix(#fff, $notice-color, 95%)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pre code {
|
||||||
|
background-color: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
ul {
|
ul {
|
||||||
&:last-child {
|
&:last-child {
|
||||||
margin-bottom: 0; /* override*/
|
margin-bottom: 0; /* override*/
|
||||||
|
@ -97,4 +101,4 @@
|
||||||
|
|
||||||
.notice--danger {
|
.notice--danger {
|
||||||
@include notice($danger-color);
|
@include notice($danger-color);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue