diff --git a/components/home.js b/components/home.js index f6d9362..ad4edb5 100644 --- a/components/home.js +++ b/components/home.js @@ -32,8 +32,10 @@ const HomeElement = ({ children, onPress, buttonColor, buttonLabel }) => { onPress={ onPress } style={ styles.homeElement } > - {children[0]} - {children[1]} + + {children[0]} + {children[1]} + {children[2]} @@ -108,11 +110,9 @@ export default class Home extends Component { buttonColor={ periodColor } buttonLabel={ labels.trackPeriod } > - - - + - + {this.state.bleedingPredictionRange} diff --git a/styles/index.js b/styles/index.js index 130de97..5fba45a 100644 --- a/styles/index.js +++ b/styles/index.js @@ -125,7 +125,6 @@ export default StyleSheet.create({ marginBottom: defaultBottomMargin, }, homeElement: { - alignItems: 'center', marginBottom: 40, flexDirection: 'row', }, @@ -133,6 +132,9 @@ export default StyleSheet.create({ alignItems: 'center', justifyContent: 'center', }, + homeIconAndText: { + justifyContent: 'center' + }, wrapperIcon: { width: 80, position: 'absolute'