Avatar size prop support number px

This commit is contained in:
梁灏 2019-09-16 16:47:23 +08:00
parent a03c85df73
commit 04f5779c02
3 changed files with 21 additions and 7 deletions

View file

@ -47,7 +47,7 @@
width: @size;
height: @size;
line-height: @size;
border-radius: @size / 2;
border-radius: 50%;
& > * {
line-height: @size;