little improvements to view styling

This commit is contained in:
tina
2018-09-12 18:31:18 +02:00
parent e9ebde9162
commit 94d991d868
2 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -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 &&
+4 -1
View File
@@ -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',