Skip to content

Commit

Permalink
simplify styles
Browse files Browse the repository at this point in the history
  • Loading branch information
vonovak committed Apr 27, 2019
1 parent 5711828 commit 20eae94
Showing 1 changed file with 4 additions and 24 deletions.
28 changes: 4 additions & 24 deletions src/HeaderButtons.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,10 +126,7 @@ const styles = StyleSheet.create({
android: {
marginLeft: 5,
},
ios: {
marginLeft: 4,
},
web: {
default: {
marginLeft: 4,
},
}),
Expand All @@ -139,10 +136,7 @@ const styles = StyleSheet.create({
android: {
marginRight: 4,
},
ios: {
marginRight: 5,
},
web: {
default: {
marginRight: 5,
},
}),
Expand All @@ -154,27 +148,13 @@ const styles = StyleSheet.create({
fontSize: 14,
marginHorizontal: 11,
},
ios: {
fontSize: 17,
marginHorizontal: 10,
},
web: {
default: {
fontSize: 17,
marginHorizontal: 10,
},
}),
},
button: {
...Platform.select({
android: {
marginHorizontal: 11,
},
ios: {
marginHorizontal: 11,
},
web: {
marginHorizontal: 11,
},
}),
marginHorizontal: 11,
},
});

0 comments on commit 20eae94

Please sign in to comment.