Parcourir la source

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

master
Avram Tudor il y a 3 ans
Parent
révision
9060bebca9
Aucun compte lié à l'adresse e-mail de l'auteur
2 fichiers modifiés avec 7 ajouts et 2 suppressions
  1. 5
    0
      css/premeeting/_prejoin.scss
  2. 2
    2
      react/features/prejoin/components/Prejoin.js

+ 5
- 0
css/premeeting/_prejoin.scss Voir le fichier

14
             margin-bottom: 32px;
14
             margin-bottom: 32px;
15
             text-align: center;
15
             text-align: center;
16
         }
16
         }
17
+
18
+        &-container {
19
+            display: flex;
20
+            flex-direction: column;
21
+        }
17
     }
22
     }
18
 
23
 
19
     &-error {
24
     &-error {

+ 2
- 2
react/features/prejoin/components/Prejoin.js Voir le fichier

387
                         readOnly = { readOnlyName }
387
                         readOnly = { readOnlyName }
388
                         value = { name } />
388
                         value = { name } />
389
                     ) : (
389
                     ) : (
390
-                        <>
390
+                        <div className = 'prejoin-avatar-container'>
391
                             <Avatar
391
                             <Avatar
392
                                 className = 'prejoin-avatar'
392
                                 className = 'prejoin-avatar'
393
                                 displayName = { name }
393
                                 displayName = { name }
394
                                 participantId = { participantId }
394
                                 participantId = { participantId }
395
                                 size = { 72 } />
395
                                 size = { 72 } />
396
                             <div className = 'prejoin-avatar-name'>{name}</div>
396
                             <div className = 'prejoin-avatar-name'>{name}</div>
397
-                        </>
397
+                        </div>
398
                     )}
398
                     )}
399
 
399
 
400
                     {showError && <div
400
                     {showError && <div

Chargement…
Annuler
Enregistrer