Fix styling
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user