The thin blue line

This commit is contained in:
Eric Bailey
2024-06-13 10:27:32 -05:00
parent 6bad2e9d4f
commit 25aa7c56e7
+13 -2
View File
@@ -54,6 +54,10 @@ function SuggestedItemsHeader({
isWeb isWeb
? [a.flex_row, a.px_lg, a.py_lg, a.pt_2xl, a.gap_md] ? [a.flex_row, a.px_lg, a.py_lg, a.pt_2xl, a.gap_md]
: [{flexDirection: 'row-reverse'}, a.p_lg, a.pt_2xl, a.gap_md], : [{flexDirection: 'row-reverse'}, a.p_lg, a.pt_2xl, a.gap_md],
{
borderBottomWidth: 1,
borderColor: t.palette.primary_500,
},
style, style,
]}> ]}>
<View style={[a.flex_1, a.gap_sm]}> <View style={[a.flex_1, a.gap_sm]}>
@@ -120,7 +124,7 @@ function LoadMore({
}, [item.items, moderationOpts]) }, [item.items, moderationOpts])
return ( return (
<View style={[a.border_t, t.atoms.border_contrast_low]}> <View style={[]}>
<Button <Button
label={_(msg`Load more`)} label={_(msg`Load more`)}
onPress={item.onLoadMore} onPress={item.onLoadMore}
@@ -465,17 +469,24 @@ export function Explore() {
) )
} }
case 'profile': { case 'profile': {
return <ProfileCardWithFollowBtn profile={item.profile} noBg /> return (
<View style={[a.border_b, t.atoms.border_contrast_low]}>
<ProfileCardWithFollowBtn profile={item.profile} noBg noBorder />
</View>
)
} }
case 'feed': { case 'feed': {
return ( return (
<View style={[a.border_b, t.atoms.border_contrast_low]}>
<FeedSourceCard <FeedSourceCard
feedUri={item.feed.uri} feedUri={item.feed.uri}
showSaveBtn={hasSession} showSaveBtn={hasSession}
showDescription showDescription
showLikes showLikes
pinOnSave pinOnSave
hideTopBorder
/> />
</View>
) )
} }
case 'loadMore': { case 'loadMore': {