Skip to content

Commit

Permalink
#496 | QA comments dashboard UI fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
vindeolal committed Aug 19, 2021
1 parent 0bc0a96 commit e7b4235
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ class MyDashboardView extends AbstractComponent {
<View style={{alignItems: 'center'}}>
<Text style={{
paddingTop: 10,
marginRight: 50,
textAlign: 'center',
fontSize: 20,
color: Colors.DefaultPrimaryColor,
Expand Down Expand Up @@ -132,7 +131,8 @@ class MyDashboardView extends AbstractComponent {
<CustomActivityIndicator
loading={this.state.loading}/>
<View>
<ListView dataSource={dataSource}
<ListView style={{marginBottom: 190}}
dataSource={dataSource}
initialListSize={1}
removeClippedSubviews={true}
renderHeader={() => this.renderHeader()}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class TitleNumberBlock extends AbstractComponent {
minHeight: 80,
backgroundColor: 'white',
marginTop: cardGap,
width: (Dimensions.get('window').width - cardGap * 3) / 3,
width: (Dimensions.get('window').width - (cardGap * 4)) / 3,
},
titleStyle: {
fontSize: 12,
Expand All @@ -40,7 +40,7 @@ class TitleNumberBlock extends AbstractComponent {
<TouchableNativeFeedback onPress={() => this.props.onPress()}>
<View
style={[TitleNumberBlock.styles.container, {
marginLeft: _.includes([1, 2], index) ? cardGap / 2 : 0,
marginLeft: _.includes([1, 2], index) ? cardGap : 0,
backgroundColor
}]}>
<View style={{flexDirection: 'column'}}>
Expand Down

0 comments on commit e7b4235

Please sign in to comment.