feat: use flex box for user icons

This commit is contained in:
Barış Soner Uşaklı
2022-11-29 19:20:11 -05:00
parent b1aca51c48
commit e73cf1e280

View File

@@ -84,20 +84,13 @@
}
@mixin user-icon() {
display: inline-block;
text-align: center;
display: inline-flex;
justify-content: center;
align-items: center;
color: $white;
font-weight: normal;
vertical-align: middle;
overflow: hidden; /* stops alt text from overflowing past boundaries if image does not load */
white-space: nowrap;
&:before {
content: '';
display: inline-block;
height: 100%;
vertical-align: middle;
}
}
.avatar {