Skip to content

Commit 0c9558d

Browse files
committed
fix: the icon position of the prompts in the list is incorrect
1 parent 54ba8be commit 0c9558d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

_sass/addon/commons.scss

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,16 +132,17 @@ blockquote {
132132

133133
&[class^="prompt-"] {
134134
border-left: 0;
135+
position: relative;
135136
padding: 1rem 1rem 1rem 3rem;
136137
color: var(--prompt-text-color);
137138

138139
@extend %rounded;
139140

140141
&::before {
141142
text-align: center;
142-
width: 1.25rem;
143+
width: 3rem;
143144
position: absolute;
144-
left: 2.5rem;
145+
left: 0.25rem;
145146
margin-top: 0.4rem;
146147
text-rendering: auto;
147148
-webkit-font-smoothing: antialiased;

0 commit comments

Comments
 (0)