Merge branch '279-bug-header-text-not-centered-vertically' into 'master'

Improve positioning of header text

Closes #279

See merge request bloodyhealth/drip!151
This commit is contained in:
Julia Friesel
2019-01-13 12:12:28 +00:00
+4 -3
View File
@@ -71,19 +71,20 @@ export default StyleSheet.create({
fontFamily: fontLight, fontFamily: fontLight,
color: fontOnPrimaryColor, color: fontOnPrimaryColor,
textAlign: 'center', textAlign: 'center',
position: 'absolute',
paddingBottom: 4
}, },
accentCircle: { accentCircle: {
borderColor: secondaryColor, borderColor: secondaryColor,
borderWidth: 0.5, borderWidth: 0.5,
width: 40, width: 40,
height: 40, height: 40,
borderRadius: 100, borderRadius: 100
position: 'absolute'
}, },
errorMessage: { errorMessage: {
color: shadesOfRed[2], color: shadesOfRed[2],
marginLeft: 10, marginLeft: 10,
marginTop: 6, marginTop: 6
}, },
homeView: { homeView: {
marginHorizontal: 50, marginHorizontal: 50,