diff options
Diffstat (limited to 'src/screens/Search/components')
-rw-r--r-- | src/screens/Search/components/ModuleHeader.tsx | 12 | ||||
-rw-r--r-- | src/screens/Search/components/StarterPackCard.tsx | 2 |
2 files changed, 3 insertions, 11 deletions
diff --git a/src/screens/Search/components/ModuleHeader.tsx b/src/screens/Search/components/ModuleHeader.tsx index c965046a6..c6411d1c0 100644 --- a/src/screens/Search/components/ModuleHeader.tsx +++ b/src/screens/Search/components/ModuleHeader.tsx @@ -6,14 +6,7 @@ import {PressableScale} from '#/lib/custom-animations/PressableScale' import {makeCustomFeedLink} from '#/lib/routes/links' import {logger} from '#/logger' import {UserAvatar} from '#/view/com/util/UserAvatar' -import { - atoms as a, - native, - useGutters, - useTheme, - type ViewStyleProp, - web, -} from '#/alf' +import {atoms as a, native, useTheme, type ViewStyleProp, web} from '#/alf' import {Button, ButtonIcon} from '#/components/Button' import * as FeedCard from '#/components/FeedCard' import {sizes as iconSizes} from '#/components/icons/common' @@ -27,13 +20,12 @@ export function Container({ headerHeight, }: {children: React.ReactNode; headerHeight?: number} & ViewStyleProp) { const t = useTheme() - const gutters = useGutters([0, 'base']) return ( <View style={[ - gutters, a.flex_row, a.align_center, + a.px_lg, a.pt_2xl, a.pb_md, a.gap_sm, diff --git a/src/screens/Search/components/StarterPackCard.tsx b/src/screens/Search/components/StarterPackCard.tsx index 9520dd5a7..1b9f94828 100644 --- a/src/screens/Search/components/StarterPackCard.tsx +++ b/src/screens/Search/components/StarterPackCard.tsx @@ -234,7 +234,7 @@ export function AvatarStack({ {computedTotal > 0 ? ( <Text style={[ - gtPhone ? a.text_md : a.text_sm, + gtPhone ? a.text_md : a.text_xs, a.font_bold, a.leading_snug, {color: 'white'}, |