diff --git a/src/screens/Onboarding/Layout.tsx b/src/screens/Onboarding/Layout.tsx index 875d056fa5..4035ffb3fe 100644 --- a/src/screens/Onboarding/Layout.tsx +++ b/src/screens/Onboarding/Layout.tsx @@ -45,7 +45,6 @@ export function Layout({children}: React.PropsWithChildren<{}>) { } }, [state]) - const paddingTop = gtMobile ? a.py_5xl : a.py_lg const dialogLabel = _(msg`Set up your account`) const [headerHeight, setHeaderHeight] = useState(0) @@ -73,7 +72,7 @@ export function Layout({children}: React.PropsWithChildren<{}>) { a.justify_center, a.z_20, a.px_xl, - {paddingTop: (web(paddingTop.paddingTop) ?? 0) + insets.top}, + {paddingTop: (web(tokens.space.lg) ?? 0) + insets.top}, native([t.atoms.bg, a.pb_xs, {minHeight: 48}]), web(a.pointer_events_box_none), ]} @@ -123,17 +122,18 @@ export function Layout({children}: React.PropsWithChildren<{}>) { + dataSet={{'stable-gutters': 1}} + centerContent={gtMobile}> diff --git a/src/screens/Onboarding/StepSuggestedAccounts/index.tsx b/src/screens/Onboarding/StepSuggestedAccounts/index.tsx index 4c9d15d570..49c72f3de9 100644 --- a/src/screens/Onboarding/StepSuggestedAccounts/index.tsx +++ b/src/screens/Onboarding/StepSuggestedAccounts/index.tsx @@ -22,7 +22,7 @@ import { } from '#/screens/Onboarding/Layout' import {useOnboardingInternalState} from '#/screens/Onboarding/state' import {useSuggestedUsers} from '#/screens/Search/util/useSuggestedUsers' -import {atoms as a, tokens, useBreakpoints, useTheme} from '#/alf' +import {atoms as a, tokens, useBreakpoints, useTheme, web} from '#/alf' import {Admonition} from '#/components/Admonition' import {Button, ButtonIcon, ButtonText} from '#/components/Button' import {ArrowRotateCounterClockwise_Stroke2_Corner0_Rounded as ArrowRotateCounterClockwiseIcon} from '#/components/icons/ArrowRotateCounterClockwise' @@ -161,7 +161,9 @@ export function StepSuggestedAccounts() { style={[ a.overflow_hidden, a.mt_sm, - isWeb ? a.max_w_full : {marginHorizontal: tokens.space.xl * -1}, + isWeb + ? [a.max_w_full, web({minHeight: '100vh'})] + : {marginHorizontal: tokens.space.xl * -1}, a.flex_1, a.justify_start, ]}>