Centers the Symptom header title

This commit is contained in:
Sofiya Tepikin
2018-12-01 15:59:39 +01:00
parent f1684a8701
commit 57e77341c6
2 changed files with 5 additions and 3 deletions
+1
View File
@@ -24,6 +24,7 @@ export default function SymptomViewHeader(props) {
</View > </View >
<FeatherIcon <FeatherIcon
name='info' name='info'
style={styles.symptomInfoIcon}
{...iconStyles.symptomHeaderIcons} {...iconStyles.symptomHeaderIcons}
/> />
</View> </View>
+4 -3
View File
@@ -139,6 +139,10 @@ export default StyleSheet.create({
color: 'black', color: 'black',
marginBottom: 5 marginBottom: 5
}, },
symptomInfoIcon: {
marginRight: 20,
marginLeft: 20
},
symptomBoxImage: { symptomBoxImage: {
width: 50, width: 50,
height: 50 height: 50
@@ -199,9 +203,6 @@ export default StyleSheet.create({
flexDirection: 'row', flexDirection: 'row',
justifyContent: 'space-between', justifyContent: 'space-between',
}, },
headerSymptom: {
paddingRight: 20
},
navigationArrow: { navigationArrow: {
padding: 20 padding: 20
}, },