From 94d991d86890bbebb3a3f8c031c8ebaed2251d53 Mon Sep 17 00:00:00 2001 From: tina <lt-bloody@riox.eu> Date: Wed, 12 Sep 2018 18:31:18 +0200 Subject: [PATCH] little improvements to view styling --- components/stats.js | 2 +- styles/index.js | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/components/stats.js b/components/stats.js index c1e4475a..d7e6e3b7 100644 --- a/components/stats.js +++ b/components/stats.js @@ -26,7 +26,7 @@ export default class Stats extends Component { } return ( <ScrollView> - <View style={styles.appHorizontalMargin}> + <View style={[styles.appHorizontalMargin, styles.appVerticalMargin]}> <AppText style={styles.appTextTitle}>{labels.cycleLengthTitle}</AppText> <AppText style={styles.appBottomMargin}>{labels.cycleLengthExplainer}</AppText> {!atLeastOneCycle && diff --git a/styles/index.js b/styles/index.js index 73d4b122..49d5f32f 100644 --- a/styles/index.js +++ b/styles/index.js @@ -16,6 +16,9 @@ export default StyleSheet.create({ color: 'black', marginBottom: 5, }, + appVerticalMargin: { + marginTop: 10, + }, appHorizontalMargin: { marginHorizontal: 10, }, @@ -29,7 +32,7 @@ export default StyleSheet.create({ textAlignVertical: 'center' }, dateHeader: { - fontSize: 18, + fontSize: 22, fontWeight: 'bold', color: fontOnPrimaryColor, textAlign: 'center', -- GitLab