Преглед изворни кода

[RN] Use rounded avatars in the film strip

j8
Saúl Ibarra Corretgé пре 8 година
родитељ
комит
739298c782
1 измењених фајлова са 7 додато и 1 уклоњено
  1. 7
    1
      react/features/base/participants/components/styles.js

+ 7
- 1
react/features/base/participants/components/styles.js Прегледај датотеку

8
      * Avatar style.
8
      * Avatar style.
9
      */
9
      */
10
     avatar: {
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
         flex: 1,
16
         flex: 1,
12
-        width: '100%'
17
+        height: 50,
18
+        width: 50
13
     },
19
     },
14
 
20
 
15
     /**
21
     /**

Loading…
Откажи
Сачувај