Skip to content

Commit cc14479

Browse files
vonovakTrancever
authored andcommitted
fix: fix menu item height (#1847)
1 parent df28d87 commit cc14479

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/components/Menu/MenuItem.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,11 @@ const iconWidth = 40;
122122

123123
const styles = StyleSheet.create({
124124
container: {
125-
padding: 8,
125+
paddingHorizontal: 8,
126126
minWidth,
127127
maxWidth,
128+
height: 48,
129+
justifyContent: 'center',
128130
},
129131
row: {
130132
flexDirection: 'row',
@@ -136,7 +138,7 @@ const styles = StyleSheet.create({
136138
fontSize: 16,
137139
},
138140
item: {
139-
margin: 8,
141+
marginHorizontal: 8,
140142
},
141143
content: {
142144
justifyContent: 'center',

0 commit comments

Comments
 (0)