Skip to content

Commit

Permalink
Remove surplus padding, add component specific padding.
Browse files Browse the repository at this point in the history
  • Loading branch information
Vlad committed Feb 2, 2018
1 parent f30b2bc commit 515972d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions theme.js
Original file line number Diff line number Diff line change
Expand Up @@ -1285,11 +1285,13 @@ export default (variables = defaultThemeVariables) => ({
[INCLUDE]: ['navigationBarTextAnimations'],
color: variables.navBarIconsColor,
fontSize: 24,
paddingHorizontal: 9,
},

'shoutem.ui.Text': {
[INCLUDE]: ['navigationBarTextAnimations'],
...variables.navBarText,
paddingHorizontal: 9,
},

'shoutem.ui.Button': {
Expand Down Expand Up @@ -1397,8 +1399,6 @@ export default (variables = defaultThemeVariables) => ({
borderBottomWidth: 1,
// Leave space for the status bar on iOS
paddingTop: Platform.OS === 'ios' ? 20 : 0,
paddingLeft: 15,
paddingRight: 15,
},

componentsContainer: {
Expand Down

0 comments on commit 515972d

Please sign in to comment.