From dc68f199d1d74caccd4cf47b3e404ffb8e2d41de Mon Sep 17 00:00:00 2001 From: SebinSong Date: Mon, 16 Dec 2024 20:25:25 +0900 Subject: [PATCH] handle blank-line within the blockquotes --- frontend/assets/style/components/_custom-markdowns.scss | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/frontend/assets/style/components/_custom-markdowns.scss b/frontend/assets/style/components/_custom-markdowns.scss index cd0f84f089..5620aea0e7 100644 --- a/frontend/assets/style/components/_custom-markdowns.scss +++ b/frontend/assets/style/components/_custom-markdowns.scss @@ -115,6 +115,7 @@ position: relative; padding-left: 1rem; white-space: pre-line; + margin: 0.25rem 0; &::before { content: ""; @@ -127,6 +128,11 @@ border-radius: 8px; background-color: $general_0; } + + p:has(+ p, + pre), + pre:has(+ p, + pre) { + margin-bottom: 1rem; + } } .link {