From 0c9558de8a01e9ab795778f351a8bbf4d6b21763 Mon Sep 17 00:00:00 2001 From: Cotes Chung <11371340+cotes2020@users.noreply.github.com> Date: Mon, 30 Jan 2023 06:15:20 +0800 Subject: [PATCH] fix: the icon position of the prompts in the list is incorrect --- _sass/addon/commons.scss | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/_sass/addon/commons.scss b/_sass/addon/commons.scss index 0991c50..9153982 100644 --- a/_sass/addon/commons.scss +++ b/_sass/addon/commons.scss @@ -132,6 +132,7 @@ blockquote { &[class^="prompt-"] { border-left: 0; + position: relative; padding: 1rem 1rem 1rem 3rem; color: var(--prompt-text-color); @@ -139,9 +140,9 @@ blockquote { &::before { text-align: center; - width: 1.25rem; + width: 3rem; position: absolute; - left: 2.5rem; + left: 0.25rem; margin-top: 0.4rem; text-rendering: auto; -webkit-font-smoothing: antialiased;