Merge pull request #8763 from internet-development/caidan/app-1364-fix-suggested-follows-small-web-view

This commit is contained in:
jim
2025-07-31 14:28:00 -07:00
committed by GitHub
+6 -6
View File
@@ -378,8 +378,8 @@ export function ProfileGrid({
style={[a.border_t, t.atoms.border_contrast_low, t.atoms.bg_contrast_25]}> style={[a.border_t, t.atoms.border_contrast_low, t.atoms.bg_contrast_25]}>
<View <View
style={[ style={[
a.p_lg, a.px_lg,
a.py_md, a.pt_md,
a.flex_row, a.flex_row,
a.align_center, a.align_center,
a.justify_between, a.justify_between,
@@ -399,7 +399,7 @@ export function ProfileGrid({
</View> </View>
{gtMobile ? ( {gtMobile ? (
<View style={[a.px_lg, a.pb_lg]}> <View style={[a.p_lg, a.pt_md]}>
<View style={[a.flex_1, a.flex_row, a.flex_wrap, a.gap_md]}> <View style={[a.flex_1, a.flex_row, a.flex_wrap, a.gap_md]}>
{content} {content}
</View> </View>
@@ -411,9 +411,8 @@ export function ProfileGrid({
horizontal horizontal
showsHorizontalScrollIndicator={false} showsHorizontalScrollIndicator={false}
snapToInterval={MOBILE_CARD_WIDTH + a.gap_md.gap} snapToInterval={MOBILE_CARD_WIDTH + a.gap_md.gap}
decelerationRate="fast" decelerationRate="fast">
style={[a.overflow_visible]}> <View style={[a.p_lg, a.pt_md, a.flex_row, a.gap_md]}>
<View style={[a.px_lg, a.pb_lg, a.flex_row, a.gap_md]}>
{content} {content}
<SeeMoreSuggestedProfilesCard /> <SeeMoreSuggestedProfilesCard />
@@ -434,6 +433,7 @@ function SeeMoreSuggestedProfilesCard() {
return ( return (
<Button <Button
label={_(msg`Browse more accounts on the Explore page`)} label={_(msg`Browse more accounts on the Explore page`)}
style={[a.flex_col]}
onPress={() => { onPress={() => {
navigation.navigate('SearchTab') navigation.navigate('SearchTab')
}}> }}>