From 1b5c637d4ea7cc1e2c79e878fe1ccc4f8148309b Mon Sep 17 00:00:00 2001 From: mashazyu <mariya.z@gmail.com> Date: Sun, 2 Dec 2018 13:52:17 +0100 Subject: [PATCH] Fixes fertility icon space --- components/home.js | 5 ++++- styles/index.js | 10 +++++++--- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/components/home.js b/components/home.js index 52bc3609..73e9591f 100644 --- a/components/home.js +++ b/components/home.js @@ -141,7 +141,10 @@ export default class Home extends Component { onPress={() => this.props.navigate('Chart')} style={styles.homeIconElement} > - <View style={styles.homeCircle}> + + <View style={styles.homeCircle} position='absolute' /> + + <View style={[styles.homeIconTextWrapper, styles.wrapperCircle]}> <AppTextLight style={styles.iconText}> {this.state.phase ? this.state.phase.toString() diff --git a/styles/index.js b/styles/index.js index 59360e6a..05489a50 100644 --- a/styles/index.js +++ b/styles/index.js @@ -100,13 +100,17 @@ export default StyleSheet.create({ marginBottom: 10, }, wrapperCycle: { - width: 70, - height: 75 + width: 80, + height: 77 }, wrapperDrop: { + width: 81, + height: 85, + marginTop: 20 + }, + wrapperCircle: { width: 80, height: 80, - marginTop: 20 }, homeCircle: { borderRadius: 100, -- GitLab