fix: the icon position of the prompts in the list is incorrect
This commit is contained in:
parent
54ba8befbe
commit
0c9558de8a
1 changed files with 3 additions and 2 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue