diff options
Diffstat (limited to 'src/screens/Search/modules')
-rw-r--r-- | src/screens/Search/modules/ExploreInterestsCard.tsx | 5 | ||||
-rw-r--r-- | src/screens/Search/modules/ExploreSuggestedAccounts.tsx | 6 |
2 files changed, 8 insertions, 3 deletions
diff --git a/src/screens/Search/modules/ExploreInterestsCard.tsx b/src/screens/Search/modules/ExploreInterestsCard.tsx index fde5c3b1e..a2c6ff36d 100644 --- a/src/screens/Search/modules/ExploreInterestsCard.tsx +++ b/src/screens/Search/modules/ExploreInterestsCard.tsx @@ -6,7 +6,7 @@ import {useLingui} from '@lingui/react' import {Nux, useSaveNux} from '#/state/queries/nuxs' import {usePreferencesQuery} from '#/state/queries/preferences' import {useInterestsDisplayNames} from '#/screens/Onboarding/state' -import {atoms as a, useGutters, useTheme} from '#/alf' +import {atoms as a, useTheme} from '#/alf' import {Button, ButtonIcon, ButtonText} from '#/components/Button' import {TimesLarge_Stroke2_Corner0_Rounded as X} from '#/components/icons/Times' import {Link} from '#/components/Link' @@ -16,7 +16,6 @@ import {Text} from '#/components/Typography' export function ExploreInterestsCard() { const t = useTheme() const {_} = useLingui() - const gutters = useGutters([0, 'base']) const {data: preferences} = usePreferencesQuery() const interestsDisplayNames = useInterestsDisplayNames() const {mutateAsync: saveNux} = useSaveNux() @@ -53,7 +52,7 @@ export function ExploreInterestsCard() { onConfirm={onConfirmClose} /> - <View style={[gutters, a.pt_lg, a.pb_2xs]}> + <View style={[a.p_lg, a.pb_2xs]}> <View style={[ a.p_lg, diff --git a/src/screens/Search/modules/ExploreSuggestedAccounts.tsx b/src/screens/Search/modules/ExploreSuggestedAccounts.tsx index 71210823e..6d36ef1a7 100644 --- a/src/screens/Search/modules/ExploreSuggestedAccounts.tsx +++ b/src/screens/Search/modules/ExploreSuggestedAccounts.tsx @@ -87,6 +87,12 @@ export function SuggestedAccountsTabBar({ ...interestsDisplayNames, }} TabComponent={Tab} + contentContainerStyle={[ + { + // visual alignment + paddingLeft: a.px_md.paddingLeft, + }, + ]} /> </BlockDrawerGesture> ) |