From 1cc250625b5e76da7fc1a04ffb444810e59abaa7 Mon Sep 17 00:00:00 2001 From: iBug Date: Wed, 2 Mar 2022 15:44:01 +0800 Subject: [PATCH] Fixed specificity issue with admonitions in lists (#3648) * Remove :is from .md-typeset (ol, ul) li :is(p, blockquote) Fixes #3644 * Fix SCSS style --- src/assets/stylesheets/main/_typeset.scss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/assets/stylesheets/main/_typeset.scss b/src/assets/stylesheets/main/_typeset.scss index 11912b9a5..278d2c5fa 100644 --- a/src/assets/stylesheets/main/_typeset.scss +++ b/src/assets/stylesheets/main/_typeset.scss @@ -361,7 +361,8 @@ kbd { margin-inline-start: px2em(20px); // Adjust spacing - :is(p, blockquote) { + p, + blockquote { margin: 0.5em 0; }