Style symptom row

This commit is contained in:
Julia Friesel
2018-08-24 19:20:40 +02:00
parent c54581d644
commit f6607b98c7
2 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -108,7 +108,7 @@ export default class DayColumn extends Component {
return ( return (
<View> <View>
<View style={{ height: symptomHeight }}> <View style={[styles.symptomRow, {height: symptomHeight}]}>
{typeof mucus === 'number' && {typeof mucus === 'number' &&
<View <View
{...styles.mucusIcon} {...styles.mucusIcon}
+4
View File
@@ -87,6 +87,10 @@ const styles = {
borderColor: '#00b159', borderColor: '#00b159',
borderWidth: 2, borderWidth: 2,
borderStyle: 'solid' borderStyle: 'solid'
},
symptomRow: {
alignItems: 'center',
justifyContent: 'center'
} }
} }