Skip to content

Commit

Permalink
Avatar: fix image not center vertically issue (ElemeFE#16489)
Browse files Browse the repository at this point in the history
  • Loading branch information
luckyCao authored and ziyoung committed Jul 24, 2019
1 parent f5b2fe1 commit 2c7911e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/theme-chalk/src/avatar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@
font-size: $--avatar-text-font-size;

>img {
width: 100%;
display: block;
height: 100%;
vertical-align: middle;
}

@include m(circle) {
Expand Down

0 comments on commit 2c7911e

Please sign in to comment.