Skip to content

Commit

Permalink
fix: the icon position of the prompts in the list is incorrect
Browse files Browse the repository at this point in the history
  • Loading branch information
cotes2020 committed Jan 29, 2023
1 parent 54ba8be commit 0c9558d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions _sass/addon/commons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -132,16 +132,17 @@ blockquote {

&[class^="prompt-"] {
border-left: 0;
position: relative;
padding: 1rem 1rem 1rem 3rem;
color: var(--prompt-text-color);

@extend %rounded;

&::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;
Expand Down

0 comments on commit 0c9558d

Please sign in to comment.