Badge: Better text centering
This commit is contained in:
@@ -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;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user