this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix NavSignupCard on web (#5813)

authored by

Eric Bailey and committed by
GitHub
24679d5f 1e723f17

+8 -7
+2 -2
src/components/AppLanguageDropdown.tsx
··· 7 7 import {APP_LANGUAGES} from '#/locale/languages' 8 8 import {useLanguagePrefs, useLanguagePrefsApi} from '#/state/preferences' 9 9 import {resetPostsFeedQueries} from '#/state/queries/post-feed' 10 - import {atoms as a, useTheme} from '#/alf' 10 + import {atoms as a, useTheme, ViewStyleProp} from '#/alf' 11 11 import {ChevronBottom_Stroke2_Corner0_Rounded as ChevronDown} from '#/components/icons/Chevron' 12 12 13 - export function AppLanguageDropdown() { 13 + export function AppLanguageDropdown(_props: ViewStyleProp) { 14 14 const t = useTheme() 15 15 16 16 const queryClient = useQueryClient()
+3 -2
src/components/AppLanguageDropdown.web.tsx
··· 6 6 import {APP_LANGUAGES} from '#/locale/languages' 7 7 import {useLanguagePrefs, useLanguagePrefsApi} from '#/state/preferences' 8 8 import {resetPostsFeedQueries} from '#/state/queries/post-feed' 9 - import {atoms as a, useTheme} from '#/alf' 9 + import {atoms as a, useTheme, ViewStyleProp} from '#/alf' 10 10 import {ChevronBottom_Stroke2_Corner0_Rounded as ChevronDown} from '#/components/icons/Chevron' 11 11 import {Text} from '#/components/Typography' 12 12 13 - export function AppLanguageDropdown() { 13 + export function AppLanguageDropdown({style}: ViewStyleProp) { 14 14 const t = useTheme() 15 15 16 16 const queryClient = useQueryClient() ··· 40 40 // We don't have hitSlop here to increase the tap region, 41 41 // alternative is negative margins. 42 42 {height: 32, marginVertical: -((32 - 14) / 2)}, 43 + style, 43 44 ]}> 44 45 <View 45 46 style={[
+2 -2
src/view/shell/NavSignupCard.tsx
··· 64 64 </Button> 65 65 </View> 66 66 67 - <View style={[a.pt_2xl, a.w_full]}> 68 - <AppLanguageDropdown /> 67 + <View style={[a.mt_md, a.w_full, {height: 32}]}> 68 + <AppLanguageDropdown style={{marginTop: 0}} /> 69 69 </View> 70 70 </View> 71 71 )
+1 -1
src/view/shell/desktop/LeftNav.tsx
··· 353 353 {hasSession ? ( 354 354 <ProfileCard /> 355 355 ) : isDesktop ? ( 356 - <View style={{paddingHorizontal: 12}}> 356 + <View style={[a.pt_xl]}> 357 357 <NavSignupCard /> 358 358 </View> 359 359 ) : null}