refactor: remove extra margins from text within `blockquote`

Introduced by #1449
This commit is contained in:
Cotes Chung 2024-01-07 06:27:09 +08:00
parent f243cbd858
commit 9882244bd9
No known key found for this signature in database
GPG Key ID: 0D9E54843167A808
1 changed files with 4 additions and 4 deletions

View File

@ -87,6 +87,10 @@ blockquote {
color: var(--blockquote-text-color); color: var(--blockquote-text-color);
display: flex; display: flex;
> p:last-child {
margin-bottom: 0;
}
&[class^='prompt-'] { &[class^='prompt-'] {
border-left: 0; border-left: 0;
position: relative; position: relative;
@ -104,10 +108,6 @@ blockquote {
text-rendering: auto; text-rendering: auto;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
} }
> p:last-child {
margin-bottom: 0;
}
} }
@include prompt('tip', '\f0eb', 'regular'); @include prompt('tip', '\f0eb', 'regular');