diff options
author | Eric Bailey <git@esb.lol> | 2025-04-07 18:32:30 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-07 16:32:30 -0700 |
commit | 4013855c10339266b045392469ac132e88c560c4 (patch) | |
tree | 8f5958775d1f1001f126facd34496aa4da0a1a08 /src/screens/Search/components/ModuleHeader.tsx | |
parent | e46b78eb85bf582d888942a6c00ef2d32e8ef23e (diff) | |
download | voidsky-4013855c10339266b045392469ac132e88c560c4.tar.zst |
[Explore] Small fixes (#8145)
* Hover on sugg account * Add subtle hover to all components except feed * Use skeleton states for refetch on focus * Empty results state for sugg users * Filter out pinned posts from feed previews * Add trending header if not top module * Tighten up spacing * Fetch 10 profiles * Update interests copy * Remove refetch on focus * Add PTR * use a map * Update src/screens/Search/modules/ExploreInterestsCard.tsx * fix web double border --------- Co-authored-by: Hailey <me@haileyok.com>
Diffstat (limited to 'src/screens/Search/components/ModuleHeader.tsx')
-rw-r--r-- | src/screens/Search/components/ModuleHeader.tsx | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/screens/Search/components/ModuleHeader.tsx b/src/screens/Search/components/ModuleHeader.tsx index c6411d1c0..9c208d2b2 100644 --- a/src/screens/Search/components/ModuleHeader.tsx +++ b/src/screens/Search/components/ModuleHeader.tsx @@ -18,7 +18,12 @@ export function Container({ style, children, headerHeight, -}: {children: React.ReactNode; headerHeight?: number} & ViewStyleProp) { + bottomBorder, +}: { + children: React.ReactNode + headerHeight?: number + bottomBorder?: boolean +} & ViewStyleProp) { const t = useTheme() return ( <View @@ -31,10 +36,9 @@ export function Container({ a.gap_sm, t.atoms.bg, headerHeight && web({position: 'sticky', top: headerHeight}), + bottomBorder && [a.border_b, t.atoms.border_contrast_low], style, ]}> - {/* Very non-scientific way to avoid small gap on scroll */} - <View style={[a.absolute, a.inset_0, t.atoms.bg, {top: -2}]} /> {children} </View> ) |