From 9882244bd979756946f661422fab2787186b9e40 Mon Sep 17 00:00:00 2001 From: Cotes Chung <11371340+cotes2020@users.noreply.github.com> Date: Sun, 7 Jan 2024 06:27:09 +0800 Subject: [PATCH] refactor: remove extra margins from text within `blockquote` Introduced by #1449 --- _sass/addon/commons.scss | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/_sass/addon/commons.scss b/_sass/addon/commons.scss index f53e0cb..5c30f78 100644 --- a/_sass/addon/commons.scss +++ b/_sass/addon/commons.scss @@ -87,6 +87,10 @@ blockquote { color: var(--blockquote-text-color); display: flex; + > p:last-child { + margin-bottom: 0; + } + &[class^='prompt-'] { border-left: 0; position: relative; @@ -104,10 +108,6 @@ blockquote { text-rendering: auto; -webkit-font-smoothing: antialiased; } - - > p:last-child { - margin-bottom: 0; - } } @include prompt('tip', '\f0eb', 'regular');