Przeglądaj źródła

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

master
Avram Tudor 3 lat temu
rodzic
commit
9060bebca9
No account linked to committer's email address

+ 5
- 0
css/premeeting/_prejoin.scss Wyświetl plik

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

+ 2
- 2
react/features/prejoin/components/Prejoin.js Wyświetl plik

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

Ładowanie…
Anuluj
Zapisz