Skip to content

Commit

Permalink
fix(button): fix TouchableHighlight size issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Artur Bien committed Nov 29, 2020
1 parent 46fd366 commit 93353c3
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/Button/Button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,14 +88,9 @@ const Button = ({
const styles = StyleSheet.create({
wrapper: {
position: 'relative',
alignSelf: 'flex-start',
// padding added to compensate for borders
padding: 4,
width: 20,
},

content: {
height: '100%',
width: '100%',
flex: 1,
justifyContent: 'center',
alignItems: 'center',
Expand Down

0 comments on commit 93353c3

Please sign in to comment.