From 57e77341c66fbd4ad9c1941d4ef2948e06722845 Mon Sep 17 00:00:00 2001 From: Sofiya Tepikin <sofiya.tepikin@gmail.com> Date: Sat, 1 Dec 2018 15:59:39 +0100 Subject: [PATCH] Centers the Symptom header title --- components/header/symptom-view.js | 1 + styles/index.js | 7 ++++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/components/header/symptom-view.js b/components/header/symptom-view.js index df8b4beb..3f6a21f1 100644 --- a/components/header/symptom-view.js +++ b/components/header/symptom-view.js @@ -24,6 +24,7 @@ export default function SymptomViewHeader(props) { </View > <FeatherIcon name='info' + style={styles.symptomInfoIcon} {...iconStyles.symptomHeaderIcons} /> </View> diff --git a/styles/index.js b/styles/index.js index 78730f34..59360e6a 100644 --- a/styles/index.js +++ b/styles/index.js @@ -139,6 +139,10 @@ export default StyleSheet.create({ color: 'black', marginBottom: 5 }, + symptomInfoIcon: { + marginRight: 20, + marginLeft: 20 + }, symptomBoxImage: { width: 50, height: 50 @@ -199,9 +203,6 @@ export default StyleSheet.create({ flexDirection: 'row', justifyContent: 'space-between', }, - headerSymptom: { - paddingRight: 20 - }, navigationArrow: { padding: 20 }, -- GitLab