Skip to content

Commit

Permalink
handle blank-line within the blockquotes
Browse files Browse the repository at this point in the history
  • Loading branch information
SebinSong committed Dec 16, 2024
1 parent 6bb3e8d commit dc68f19
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions frontend/assets/style/components/_custom-markdowns.scss
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@
position: relative;
padding-left: 1rem;
white-space: pre-line;
margin: 0.25rem 0;

&::before {
content: "";
Expand All @@ -127,6 +128,11 @@
border-radius: 8px;
background-color: $general_0;
}

p:has(+ p, + pre),
pre:has(+ p, + pre) {
margin-bottom: 1rem;
}
}

.link {
Expand Down

0 comments on commit dc68f19

Please sign in to comment.