Files
jitsi-meet/react/features/large-video/components/styles.js
Saúl Ibarra Corretgé bbb1dce42a [RN] Simplify styles which fill the parent view
Turns out React Native offers an object with the following definition:

{
    bottom: 0,
    left: 0,
    position: 'absolute',
    right: 0,
    top: 0
}
2018-05-23 14:30:22 +02:00

22 lines
468 B
JavaScript

import { StyleSheet } from 'react-native';
import { ColorPalette, createStyleSheet } from '../../base/styles';
/**
* Size for the Avatar.
*/
export const AVATAR_SIZE = 200;
export default createStyleSheet({
/**
* Large video container style.
*/
largeVideo: {
...StyleSheet.absoluteFillObject,
alignItems: 'stretch',
backgroundColor: ColorPalette.appBackground,
flex: 1,
justifyContent: 'center'
}
});