fix: the icon position of the prompts in the list is incorrect

This commit is contained in:
Cotes Chung 2023-01-30 06:15:20 +08:00
parent 54ba8befbe
commit 0c9558de8a
No known key found for this signature in database
GPG key ID: 0D9E54843167A808

View file

@ -132,6 +132,7 @@ blockquote {
&[class^="prompt-"] { &[class^="prompt-"] {
border-left: 0; border-left: 0;
position: relative;
padding: 1rem 1rem 1rem 3rem; padding: 1rem 1rem 1rem 3rem;
color: var(--prompt-text-color); color: var(--prompt-text-color);
@ -139,9 +140,9 @@ blockquote {
&::before { &::before {
text-align: center; text-align: center;
width: 1.25rem; width: 3rem;
position: absolute; position: absolute;
left: 2.5rem; left: 0.25rem;
margin-top: 0.4rem; margin-top: 0.4rem;
text-rendering: auto; text-rendering: auto;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;