From 75f8b94dbd24766329dfe63dc6a9aacdc7cbd7ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?iBug=20=E2=99=A6?= Date: Fri, 22 Nov 2019 22:26:38 +0800 Subject: [PATCH] Set background-color = inherit for
 in notices
 (#2328)

---
 _sass/minimal-mistakes/_notices.scss | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/_sass/minimal-mistakes/_notices.scss b/_sass/minimal-mistakes/_notices.scss
index 7f9b733f62f9..8fb8f53f5e08 100644
--- a/_sass/minimal-mistakes/_notices.scss
+++ b/_sass/minimal-mistakes/_notices.scss
@@ -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);
-}
\ No newline at end of file
+}