little improvements to view styling
This commit is contained in:
+1
-1
@@ -26,7 +26,7 @@ export default class Stats extends Component {
|
|||||||
}
|
}
|
||||||
return (
|
return (
|
||||||
<ScrollView>
|
<ScrollView>
|
||||||
<View style={styles.appHorizontalMargin}>
|
<View style={[styles.appHorizontalMargin, styles.appVerticalMargin]}>
|
||||||
<AppText style={styles.appTextTitle}>{labels.cycleLengthTitle}</AppText>
|
<AppText style={styles.appTextTitle}>{labels.cycleLengthTitle}</AppText>
|
||||||
<AppText style={styles.appBottomMargin}>{labels.cycleLengthExplainer}</AppText>
|
<AppText style={styles.appBottomMargin}>{labels.cycleLengthExplainer}</AppText>
|
||||||
{!atLeastOneCycle &&
|
{!atLeastOneCycle &&
|
||||||
|
|||||||
+4
-1
@@ -16,6 +16,9 @@ export default StyleSheet.create({
|
|||||||
color: 'black',
|
color: 'black',
|
||||||
marginBottom: 5,
|
marginBottom: 5,
|
||||||
},
|
},
|
||||||
|
appVerticalMargin: {
|
||||||
|
marginTop: 10,
|
||||||
|
},
|
||||||
appHorizontalMargin: {
|
appHorizontalMargin: {
|
||||||
marginHorizontal: 10,
|
marginHorizontal: 10,
|
||||||
},
|
},
|
||||||
@@ -29,7 +32,7 @@ export default StyleSheet.create({
|
|||||||
textAlignVertical: 'center'
|
textAlignVertical: 'center'
|
||||||
},
|
},
|
||||||
dateHeader: {
|
dateHeader: {
|
||||||
fontSize: 18,
|
fontSize: 22,
|
||||||
fontWeight: 'bold',
|
fontWeight: 'bold',
|
||||||
color: fontOnPrimaryColor,
|
color: fontOnPrimaryColor,
|
||||||
textAlign: 'center',
|
textAlign: 'center',
|
||||||
|
|||||||
Reference in New Issue
Block a user