Commit 2c7911e5 authored by luckyCao's avatar luckyCao Committed by hetech

Avatar: fix image not center vertically issue (#16489)

parent f5b2fe1b
...@@ -14,8 +14,9 @@ ...@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment