perf[avatar]:minimize the selected area of avatar on the mobile phone when user clicked avatar (#1304)

This commit is contained in:
jaysunxiao 2018-11-06 16:11:47 +08:00 committed by 花裤衩
parent a25c63a580
commit 9f1552d98f

View file

@ -130,15 +130,16 @@ export default {
height: 50px;
margin-right: 30px;
.avatar-wrapper {
cursor: pointer;
margin-top: 5px;
position: relative;
.user-avatar {
cursor: pointer;
width: 40px;
height: 40px;
border-radius: 10px;
}
.el-icon-caret-bottom {
cursor: pointer;
position: absolute;
right: -20px;
top: 25px;