Badge: Better text centering

This commit is contained in:
2020-05-06 19:58:16 +02:00
parent cd609cd710
commit 8e20ab18fb

View File

@@ -3,8 +3,8 @@
*/ */
.badge { .badge {
display: inline-flex; display: inline-flex;
align-items: center;
justify-content: center; justify-content: center;
text-align: center;
color: $color-primary-darker; color: $color-primary-darker;
font-family: $font-sans-sb; font-family: $font-sans-sb;
text-transform: uppercase; text-transform: uppercase;
@@ -18,10 +18,6 @@
height: 14px; height: 14px;
padding: 0 4px; padding: 0 4px;
font-size: rem(7px); font-size: rem(7px);
line-height: 14px; line-height: 15px;
span {
margin-top: 0.25em;
}
} }
} }