diff --git a/src/components/Dialog/index.web.tsx b/src/components/Dialog/index.web.tsx index 12bd8819b1..c43e9c5c04 100644 --- a/src/components/Dialog/index.web.tsx +++ b/src/components/Dialog/index.web.tsx @@ -195,7 +195,13 @@ export function Inner({ onDismiss={close} style={{display: 'flex', flexDirection: 'column'}}> {header} - + {children} diff --git a/src/components/dialogs/EmailDialog/screens/VerificationReminder.tsx b/src/components/dialogs/EmailDialog/screens/VerificationReminder.tsx index 50bcb2ee08..267b784b05 100644 --- a/src/components/dialogs/EmailDialog/screens/VerificationReminder.tsx +++ b/src/components/dialogs/EmailDialog/screens/VerificationReminder.tsx @@ -2,7 +2,7 @@ import {View} from 'react-native' import {msg, Trans} from '@lingui/macro' import {useLingui} from '@lingui/react' -import {atoms as a, tokens, useBreakpoints, useTheme} from '#/alf' +import {atoms as a, platform, tokens, useBreakpoints, useTheme} from '#/alf' import {Button, ButtonText} from '#/components/Button' import {useDialogContext} from '#/components/Dialog' import { @@ -19,24 +19,40 @@ export function VerificationReminder({ }: ScreenProps) { const t = useTheme() const {_} = useLingui() - const {gtPhone} = useBreakpoints() + const {gtPhone, gtMobile} = useBreakpoints() const control = useDialogContext() + const dialogPadding = gtMobile ? a.p_2xl.padding : a.p_xl.padding + return ( - - + + + + + + Please verify your email