Fix styling

This commit is contained in:
MariaZ
2022-01-23 19:03:42 +01:00
committed by BloodyMarie
parent 7cab47665f
commit cfef925414
+6 -15
View File
@@ -105,19 +105,6 @@ class SymptomBox extends Component {
} }
} }
const hint = {
fontSize: Sizes.small,
fontStyle: 'italic'
}
const main = {
fontSize: Sizes.base,
height: Sizes.icon,
lineHeight: Sizes.base,
marginBottom: (-1) * Sizes.title,
textAlignVertical: 'center'
}
const styles = StyleSheet.create({ const styles = StyleSheet.create({
container: { container: {
alignItems: 'center', alignItems: 'center',
@@ -133,7 +120,8 @@ const styles = StyleSheet.create({
}, },
symptomName: { symptomName: {
color: Colors.purple, color: Colors.purple,
...main fontSize: Sizes.base,
lineHeight: Sizes.base
}, },
symptomNameDisabled: { symptomNameDisabled: {
color: Colors.grey color: Colors.grey
@@ -143,11 +131,14 @@ const styles = StyleSheet.create({
}, },
textContainer: { textContainer: {
flexDirection: 'column', flexDirection: 'column',
justifyContent: 'center',
marginLeft: Spacing.small, marginLeft: Spacing.small,
maxWidth: Spacing.textWidth maxWidth: Spacing.textWidth
}, },
text: { text: {
...hint fontSize: Sizes.small,
fontStyle: 'italic',
lineHeight: 14
}, },
textDisabled: { textDisabled: {
color: Colors.greyLight color: Colors.greyLight