Don't use line-height to set verified text margin

Using line-height is confusing and has unexpected results when texts
span over multiple lines, as might be the case in some language and
screen resolution combinations.
This commit is contained in:
Javi Martín
2022-08-11 22:22:50 +02:00
parent 6cc2003e1f
commit f1387092e8

View File

@@ -4,7 +4,7 @@
.already-verified { .already-verified {
@include has-fa-icon(check, solid); @include has-fa-icon(check, solid);
color: $color-success; color: $color-success;
line-height: $line-height * 2; margin-top: $line-height;
&::before { &::before {
color: $check; color: $check;