Skip to content

Commit 5c684ef

Browse files
authored
fix: center RNTesterExampleFilter on macOS (#2681)
1 parent c167ffb commit 5c684ef

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/rn-tester/js/components/RNTesterExampleFilter.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,10 @@ const styles = StyleSheet.create({
174174
borderWidth: 1,
175175
paddingVertical: 0,
176176
height: 35,
177+
...(Platform.OS === 'macos' && {
178+
paddingVertical: 5,
179+
height: undefined,
180+
}),
177181
flex: 1,
178182
alignSelf: 'center',
179183
paddingLeft: 35,

0 commit comments

Comments
 (0)