mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
added support flex: 1 and and tag support Dimensions (#4460)
This commit is contained in:
parent
c461d46efd
commit
763ddc08a1
|
@ -10,6 +10,8 @@ let index = 0
|
|||
const normalizeNextElements = `
|
||||
body > div:first-child,
|
||||
#__next {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: 100%;
|
||||
}
|
||||
`
|
||||
|
|
|
@ -3,8 +3,8 @@ import { StyleSheet, Text, View } from 'react-native'
|
|||
|
||||
const styles = StyleSheet.create({
|
||||
container: {
|
||||
flex: 1,
|
||||
alignItems: 'center',
|
||||
height: '100%',
|
||||
justifyContent: 'center'
|
||||
},
|
||||
text: {
|
||||
|
|
Loading…
Reference in a new issue