fix(prejoin) fix styling of avatar (#11629)

This commit is contained in:
Avram Tudor 2022-06-08 13:19:08 +03:00 committed by GitHub
parent 38724458e3
commit 9060bebca9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 2 deletions

View File

@ -14,6 +14,11 @@
margin-bottom: 32px; margin-bottom: 32px;
text-align: center; text-align: center;
} }
&-container {
display: flex;
flex-direction: column;
}
} }
&-error { &-error {

View File

@ -387,14 +387,14 @@ class Prejoin extends Component<Props, State> {
readOnly = { readOnlyName } readOnly = { readOnlyName }
value = { name } /> value = { name } />
) : ( ) : (
<> <div className = 'prejoin-avatar-container'>
<Avatar <Avatar
className = 'prejoin-avatar' className = 'prejoin-avatar'
displayName = { name } displayName = { name }
participantId = { participantId } participantId = { participantId }
size = { 72 } /> size = { 72 } />
<div className = 'prejoin-avatar-name'>{name}</div> <div className = 'prejoin-avatar-name'>{name}</div>
</> </div>
)} )}
{showError && <div {showError && <div