mirror of https://github.com/ElemeFE/element
Avatar: fix image not center vertically issue (#16489)
parent
f5b2fe1be6
commit
2c7911e580
|
@ -14,8 +14,9 @@
|
||||||
font-size: $--avatar-text-font-size;
|
font-size: $--avatar-text-font-size;
|
||||||
|
|
||||||
>img {
|
>img {
|
||||||
width: 100%;
|
display: block;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
|
|
||||||
@include m(circle) {
|
@include m(circle) {
|
||||||
|
|
Loading…
Reference in New Issue