diff --git a/src/view/com/auth/login/Login.tsx b/src/view/com/auth/login/Login.tsx index fac9233931..8ec4cc8123 100644 --- a/src/view/com/auth/login/Login.tsx +++ b/src/view/com/auth/login/Login.tsx @@ -3,6 +3,7 @@ import { ActivityIndicator, Keyboard, KeyboardAvoidingView, + ScrollView, StyleSheet, TextInput, TouchableOpacity, @@ -28,6 +29,7 @@ import {isNetworkError} from 'lib/strings/errors' import {usePalette} from 'lib/hooks/usePalette' import {useTheme} from 'lib/ThemeContext' import {cleanError} from 'lib/strings/errors' +import {isWeb} from 'platform/detection' enum Forms { Login, @@ -202,7 +204,7 @@ const ChooseAccountForm = ({ } return ( - + @@ -267,7 +269,7 @@ const ChooseAccountForm = ({ {isProcessing && } - + ) } @@ -990,4 +992,10 @@ const styles = StyleSheet.create({ marginRight: 5, }, dimmed: {opacity: 0.5}, + + maxHeight: { + // @ts-ignore web only -prf + maxHeight: isWeb ? '100vh' : undefined, + height: !isWeb ? '100%' : undefined, + }, })