Changes fontSize of titles in SymptomBoxes;makes sure it stays in 1 line
This commit is contained in:
@@ -278,7 +278,10 @@ class SymptomBox extends Component {
|
|||||||
>
|
>
|
||||||
<View style={[styles.symptomBox, boxActive, disabledStyle]}>
|
<View style={[styles.symptomBox, boxActive, disabledStyle]}>
|
||||||
<DripIcon name={this.props.iconName} size={50} color={hasData ? 'white' : 'black'}/>
|
<DripIcon name={this.props.iconName} size={50} color={hasData ? 'white' : 'black'}/>
|
||||||
<AppText style={[textActive, disabledStyle]}>
|
<AppText
|
||||||
|
style={[textActive, disabledStyle, {fontSize: 15}]}
|
||||||
|
numberOfLines={1}
|
||||||
|
>
|
||||||
{this.props.title.toLowerCase()}
|
{this.props.title.toLowerCase()}
|
||||||
</AppText>
|
</AppText>
|
||||||
</View>
|
</View>
|
||||||
|
|||||||
Reference in New Issue
Block a user