diff options
author | Eric Bailey <git@esb.lol> | 2023-11-24 16:40:07 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-24 16:40:07 -0600 |
commit | 1bcbc0cf2ae574f70d5a54c3a6ac22632b4f8a1e (patch) | |
tree | a21a9fd18a189bee046537d16468a48fea0f92b6 | |
parent | f2d164ec23247d878f7f019d568a3073a5ae94c4 (diff) | |
download | voidsky-1bcbc0cf2ae574f70d5a54c3a6ac22632b4f8a1e.tar.zst |
Fix onboarding web layout (#1990)
-rw-r--r-- | src/view/com/auth/Onboarding.tsx | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/src/view/com/auth/Onboarding.tsx b/src/view/com/auth/Onboarding.tsx index 3a17eb4f8..bdb7f27c8 100644 --- a/src/view/com/auth/Onboarding.tsx +++ b/src/view/com/auth/Onboarding.tsx @@ -1,5 +1,5 @@ import React from 'react' -import {SafeAreaView} from 'react-native' +import {SafeAreaView, Platform} from 'react-native' import {ErrorBoundary} from 'view/com/util/ErrorBoundary' import {s} from 'lib/styles' import {usePalette} from 'lib/hooks/usePalette' @@ -23,7 +23,18 @@ export function Onboarding() { const skip = () => onboardingDispatch({type: 'skip'}) return ( - <SafeAreaView testID="onboardingView" style={[s.hContentRegion, pal.view]}> + <SafeAreaView + testID="onboardingView" + style={[ + s.hContentRegion, + pal.view, + // @ts-ignore web only -esb + Platform.select({ + web: { + height: '100vh', + }, + }), + ]}> <ErrorBoundary> {onboardingState.step === 'Welcome' && ( <Welcome skip={skip} next={next} /> |