Index: static/src/scss/components/_pre-icon.scss |
=================================================================== |
--- a/static/src/scss/components/_pre-icon.scss |
+++ b/static/src/scss/components/_pre-icon.scss |
@@ -31,19 +31,19 @@ |
} |
.pre-icon |
{ |
display: inline-block; |
position: absolute; |
top: 50%; |
left: 0; |
- width: 1em; |
- height: 1em; |
- margin-top: -0.55em; |
+ width: $small-space; |
+ height: $small-space; |
+ margin-top: -$x-small-space - 0.05em; /* Height of .pre-icon minus 0.05em */ |
background-repeat: no-repeat; |
background-position: center; |
background-size: 0.9em; |
} |
[dir="rtl"] .pre-icon |
{ |
right: 0; |