Skip to content

Commit 68d0c32

Browse files
authored
Merge pull request #2131 from StoDevX/fix-homescreen-padding
Fix homescreen padding
2 parents eb3098a + 6e70434 commit 68d0c32

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

source/views/home/button.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,7 @@ const styles = StyleSheet.create({
4747

4848
elevation: 2,
4949

50-
marginTop: CELL_MARGIN / 2,
51-
marginBottom: CELL_MARGIN / 2,
50+
marginBottom: CELL_MARGIN,
5251
marginLeft: CELL_MARGIN / 2,
5352
marginRight: CELL_MARGIN / 2,
5453
},
@@ -59,9 +58,7 @@ const styles = StyleSheet.create({
5958
},
6059
rectangleButtonText: {
6160
color: c.white,
62-
// marginTop: cellVerticalPadding / 2,
6361
fontFamily: Platform.OS === 'ios' ? 'System' : 'sans-serif-condensed',
64-
// textAlign: 'center',
6562
fontSize: 14,
6663
},
6764
})

source/views/home/home.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,7 @@ export default connect(mapStateToProps)(HomePage)
9090
const styles = StyleSheet.create({
9191
cells: {
9292
marginHorizontal: CELL_MARGIN / 2,
93-
marginTop: CELL_MARGIN / 2,
94-
paddingBottom: CELL_MARGIN / 2,
93+
paddingTop: CELL_MARGIN,
9594

9695
flexDirection: 'row',
9796
},

0 commit comments

Comments
 (0)