Commit 5621db3f authored by mercury233's avatar mercury233

update avatar size

parent da866304
Pipeline #19637 passed with stages
in 1 minute and 15 seconds
......@@ -114,8 +114,9 @@ class Profiles extends React.Component {
}}
src={imageUrl || defaultAvatar}
className="cropper-image"
style={{ height: '20vw', width: '20vw' }}
style={{ height: '300px', width: '300px' }}
aspectRatio={1 / 1}
autoCropArea={1}
guides
/>
<br/>
......@@ -125,7 +126,7 @@ class Profiles extends React.Component {
</div>
<div style={{ display: !isUpload ? 'flex' : 'none', flexDirection: 'column' }}>
<img alt="avatar" style={{ height: '20vw', width: '20vw' }} src={avatar || imageUrl || defaultAvatar}/>
<img alt="avatar" style={{ height: '300px', width: '300px' }} src={avatar || imageUrl || defaultAvatar}/>
<br/>
<Button style={{ padding: '4px 0' }}>
<label style={{ display: 'flex', flex: 1, justifyContent: 'center', alignItems: 'center' }}>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment