diff options
-rw-r--r-- | src/components/AppLanguageDropdown.web.tsx | 11 | ||||
-rw-r--r-- | src/view/shell/Drawer.tsx | 4 |
2 files changed, 13 insertions, 2 deletions
diff --git a/src/components/AppLanguageDropdown.web.tsx b/src/components/AppLanguageDropdown.web.tsx index 302a30ca6..8052a4ef3 100644 --- a/src/components/AppLanguageDropdown.web.tsx +++ b/src/components/AppLanguageDropdown.web.tsx @@ -29,7 +29,16 @@ export function AppLanguageDropdown() { ) return ( - <View style={[a.flex_row, a.gap_sm, a.align_center, a.flex_shrink]}> + <View + style={[ + // We don't have hitSlop here to increase the tap region, + // alternative is negative margins. + {height: 32, marginVertical: -((32 - 14) / 2)}, + a.flex_row, + a.gap_sm, + a.align_center, + a.flex_shrink, + ]}> <Text aria-hidden={true} style={t.atoms.text_contrast_medium}> {APP_LANGUAGES.find(l => l.code2 === sanitizedLang)?.name} </Text> diff --git a/src/view/shell/Drawer.tsx b/src/view/shell/Drawer.tsx index a7342179d..3972797b7 100644 --- a/src/view/shell/Drawer.tsx +++ b/src/view/shell/Drawer.tsx @@ -224,7 +224,9 @@ let DrawerContent = ({}: {}): React.ReactNode => { /> </View> ) : ( - <NavSignupCard /> + <View style={{paddingRight: 20}}> + <NavSignupCard /> + </View> )} {hasSession ? ( |