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 Pan
parent 889771fa7a
commit 4b916c8e4d
1 changed files with 2 additions and 1 deletions

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;