Selaa lähdekoodia

fix(rn, Labels): Place picture-in-picture button on the left

j8
Vlad Piersec 4 vuotta sitten
vanhempi
commit
79939f108c

+ 4
- 2
react/features/conference/components/native/NavigationBar.js Näytä tiedosto

53
         <View
53
         <View
54
             pointerEvents = 'box-none'
54
             pointerEvents = 'box-none'
55
             style = { styles.navBarWrapper }>
55
             style = { styles.navBarWrapper }>
56
-            <PictureInPictureButton
57
-                styles = { styles.navBarButton } />
56
+            <View style = { styles.pipButtonContainer }>
57
+                <PictureInPictureButton
58
+                    styles = { styles.pipButton } />
59
+            </View>
58
             <View
60
             <View
59
                 pointerEvents = 'box-none'
61
                 pointerEvents = 'box-none'
60
                 style = { styles.roomNameWrapper }>
62
                 style = { styles.roomNameWrapper }>

+ 8
- 2
react/features/conference/components/native/styles.js Näytä tiedosto

53
         paddingVertical: 12
53
         paddingVertical: 12
54
     },
54
     },
55
 
55
 
56
-    navBarButton: {
56
+    pipButtonContainer: {
57
+        position: 'absolute',
58
+        top: 10,
59
+        left: 5,
60
+        zIndex: 1
61
+    },
62
+
63
+    pipButton: {
57
         iconStyle: {
64
         iconStyle: {
58
             color: ColorPalette.white,
65
             color: ColorPalette.white,
59
             fontSize: 24
66
             fontSize: 24
60
         },
67
         },
61
-
62
         underlayColor: 'transparent'
68
         underlayColor: 'transparent'
63
     },
69
     },
64
 
70
 

Loading…
Peruuta
Tallenna