Skip to content

Commit

Permalink
#1256 | Fix Alignment of error in Card Tile View
Browse files Browse the repository at this point in the history
  • Loading branch information
himeshr committed Jan 31, 2024
1 parent d6fb359 commit 66fe31a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export const CardTileView = ({index, reportCard, I18n, onCardPress, countResult}
}]}>
<View style={{flexDirection: 'row'}}>
<View style={styles.leftContainer}>
<View style={{height: 30, marginBottom: 10}}>
<View style={{alignItems: 'flex-start', margin: 5, height: 45, width: 100}}>
{renderNumber(countResult, textColor)}
</View>
<Text style={[styles.cardNameTextStyle, {color: textColor}]}>{I18n.t(cardName)}</Text>
Expand All @@ -64,7 +64,7 @@ const styles = StyleSheet.create({
justifyContent: 'center',
alignItems: 'flex-start',
paddingHorizontal: 20,
paddingVertical: 10
paddingVertical: 5
},
leftContainer: {
flexDirection: 'column',
Expand Down

0 comments on commit 66fe31a

Please sign in to comment.