Skip to content

Commit

Permalink
fix incorrect top padding for narrow layout onboarding modals
Browse files Browse the repository at this point in the history
  • Loading branch information
cdOut committed Mar 15, 2024
1 parent f13b70e commit d056079
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/pages/OnboardingPersonalDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ function OnboardingPersonalDetails({currentUserPersonalDetails}: OnboardingPerso
};

return (
<View style={[styles.h100, styles.defaultModalContainer, !shouldUseNarrowLayout && styles.pt8]}>
<View style={[styles.h100, styles.defaultModalContainer]}>
<HeaderWithBackButton
shouldShowBackButton={false}
iconFill={theme.iconColorfulBackground}
Expand Down
2 changes: 1 addition & 1 deletion src/pages/OnboardingPurpose.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ function OnboardingPurpose() {
});

return (
<View style={[styles.h100, styles.defaultModalContainer, !shouldUseNarrowLayout && styles.pt8]}>
<View style={[styles.h100, styles.defaultModalContainer]}>
<View style={shouldUseNarrowLayout && styles.mh3}>
<HeaderWithBackButton
shouldShowBackButton
Expand Down

0 comments on commit d056079

Please sign in to comment.