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;
text-align: center;
}
&-container {
display: flex;
flex-direction: column;
}
}
&-error {

View File

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