Sfoglia il codice sorgente

[RN] Use rounded avatars in the film strip

j8
Saúl Ibarra Corretgé 8 anni fa
parent
commit
739298c782
1 ha cambiato i file con 7 aggiunte e 1 eliminazioni
  1. 7
    1
      react/features/base/participants/components/styles.js

+ 7
- 1
react/features/base/participants/components/styles.js Vedi File

@@ -8,8 +8,14 @@ export const styles = createStyleSheet({
8 8
      * Avatar style.
9 9
      */
10 10
     avatar: {
11
+        alignSelf: 'center',
12
+
13
+        // FIXME I don't understand how a 100 border radius of a 50x50 square
14
+        // results in a circle.
15
+        borderRadius: 100,
11 16
         flex: 1,
12
-        width: '100%'
17
+        height: 50,
18
+        width: 50
13 19
     },
14 20
 
15 21
     /**

Loading…
Annulla
Salva