update avatar

This commit is contained in:
梁灏 2020-01-13 08:46:56 +08:00
parent 9bd93d3b7b
commit 3876222b6b
2 changed files with 4 additions and 3 deletions

View file

@ -38,6 +38,7 @@
<Avatar src="https://i.loli.net/2017/08/21/599a521472424.jpg" size="64" shape="square" />
<Avatar src="https://i.loli.net/2017/08/21/599a521472424.jpg" size="64" shape="circle" />
<Avatar icon="ios-person" size="64" shape="circle" />
<Avatar size="42">U</Avatar>
</div>
</template>
<script>

View file

@ -49,9 +49,9 @@
line-height: @size;
border-radius: 50%;
& > * {
line-height: @size;
}
//& > * {
// line-height: @size;
//}
&.@{avatar-prefix-cls}-icon {
font-size: @font-size;