mirror of
https://github.com/RoboSats/robosats.git
synced 2024-12-13 19:06:26 +00:00
Style avatar css
This commit is contained in:
parent
928d0b4796
commit
225c142cd9
@ -38,7 +38,6 @@ export default class UserGenPage extends Component {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Fix next two handler functions so they work sequentially
|
// Fix next two handler functions so they work sequentially
|
||||||
// at the moment they make the request generate a new user in parallel
|
// at the moment they make the request generate a new user in parallel
|
||||||
// to updating the token in the state. So the it works a bit weird.
|
// to updating the token in the state. So the it works a bit weird.
|
||||||
@ -74,12 +73,13 @@ export default class UserGenPage extends Component {
|
|||||||
/>
|
/>
|
||||||
</Grid>
|
</Grid>
|
||||||
<Grid item xs={12} align="center">
|
<Grid item xs={12} align="center">
|
||||||
<div style={{ width: 200, height: 200 }}>
|
<div style={{ maxWidth: 200, maxHeight: 200 }}>
|
||||||
<Image
|
<Image className='newAvatar'
|
||||||
imageStyle={{ width: 200, height: 200}}
|
disableError='true'
|
||||||
disableError='true'
|
animationDuration='1500'
|
||||||
src={this.state.avatar_url}
|
cover='true'
|
||||||
/>
|
src={this.state.avatar_url}
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
</Grid>
|
</Grid>
|
||||||
<Grid item xs={12} align="center">
|
<Grid item xs={12} align="center">
|
||||||
|
@ -23,4 +23,13 @@ body {
|
|||||||
top: 50%;
|
top: 50%;
|
||||||
left: 50%;
|
left: 50%;
|
||||||
transform: translate(-50%,-50%);
|
transform: translate(-50%,-50%);
|
||||||
|
}
|
||||||
|
|
||||||
|
.newAvatar {
|
||||||
|
background-color:white;
|
||||||
|
border-radius: 50%;
|
||||||
|
border: 2px solid #555;
|
||||||
|
filter: drop-shadow(1px 1px 1px #000000);
|
||||||
|
height: 200px;
|
||||||
|
width: 200px;
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user