Skip to content

Commit 1f268cc

Browse files
committed
Fix: add default top padding on iOS
1 parent c512caa commit 1f268cc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/power-action-sheet-styles.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ export const insetsStyle = async () => {
160160
paddingBottom: insets.bottom,
161161
};
162162
if ( Platform.OS === "ios" ) {
163+
result.paddingTop = result.paddingTop || 10;
163164
result.paddingBottom = result.paddingBottom || 10;
164165
result.paddingLeft = result.paddingLeft || 10;
165166
result.paddingRight = result.paddingRight || 10;

0 commit comments

Comments
 (0)