let flexbox resize components (#620)
This commit is contained in:
parent
c688c8344c
commit
da68ee86a1
|
@ -120,14 +120,13 @@ class BadInstagramCloneApp extends Component {
|
|||
|
||||
const styles = StyleSheet.create({
|
||||
container: {
|
||||
flex: 1
|
||||
flex: 1,
|
||||
flexDirection: 'row',
|
||||
},
|
||||
preview: {
|
||||
flex: 1,
|
||||
justifyContent: 'flex-end',
|
||||
alignItems: 'center',
|
||||
height: Dimensions.get('window').height,
|
||||
width: Dimensions.get('window').width
|
||||
alignItems: 'center'
|
||||
},
|
||||
capture: {
|
||||
flex: 0,
|
||||
|
|
Loading…
Reference in New Issue