Browse Source

feat: 调整用户头像的大小

dev-zw-temp
zhaowei 7 months ago
parent
commit
4220ad1323
1 changed files with 6 additions and 5 deletions
  1. +6
    -5
      react-ui/src/pages/User/Center/index.less

+ 6
- 5
react-ui/src/pages/User/Center/index.less View File

@@ -1,14 +1,15 @@
@avaterSize: 180px;

.avatarHolder {
position: relative;
display: inline-block;
height: 120px;
height: @avaterSize;
margin-bottom: 30px;
text-align: center;

& > img {
width: 120px;
height: 120px;
margin-bottom: 20px;
width: @avaterSize;
height: @avaterSize;
border-radius: 50%;
}
&:hover:after {
@@ -20,7 +21,7 @@
color: #eee;
font-size: 24px;
font-style: normal;
line-height: 110px;
line-height: @avaterSize;
background: rgba(0, 0, 0, 0.5);
border-radius: 50%;
cursor: pointer;


Loading…
Cancel
Save