Commit 763ddc08 authored by Dimka Vasilyev's avatar Dimka Vasilyev Committed by Tim Neutkens

added support flex: 1 and and tag support Dimensions (#4460)

parent c461d46e
...@@ -10,6 +10,8 @@ let index = 0 ...@@ -10,6 +10,8 @@ let index = 0
const normalizeNextElements = ` const normalizeNextElements = `
body > div:first-child, body > div:first-child,
#__next { #__next {
display: flex;
flex-direction: column;
height: 100%; height: 100%;
} }
` `
......
...@@ -3,8 +3,8 @@ import { StyleSheet, Text, View } from 'react-native' ...@@ -3,8 +3,8 @@ import { StyleSheet, Text, View } from 'react-native'
const styles = StyleSheet.create({ const styles = StyleSheet.create({
container: { container: {
flex: 1,
alignItems: 'center', alignItems: 'center',
height: '100%',
justifyContent: 'center' justifyContent: 'center'
}, },
text: { text: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment