From ee9aa752135e4a5095e85d8c927731445c90add8 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 7f9b733f..8fb8f53f 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
+}