Skip to content

Commit 4b916c8

Browse files
jaysunxiaoPanJiaChen
authored andcommitted
perf[avatar]:minimize the selected area of avatar on the mobile phone when user clicked avatar (PanJiaChen#1304)
1 parent 889771f commit 4b916c8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/views/layout/components/Navbar.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,15 +130,16 @@ export default {
130130
height: 50px;
131131
margin-right: 30px;
132132
.avatar-wrapper {
133-
cursor: pointer;
134133
margin-top: 5px;
135134
position: relative;
136135
.user-avatar {
136+
cursor: pointer;
137137
width: 40px;
138138
height: 40px;
139139
border-radius: 10px;
140140
}
141141
.el-icon-caret-bottom {
142+
cursor: pointer;
142143
position: absolute;
143144
right: -20px;
144145
top: 25px;

0 commit comments

Comments
 (0)