diff options
author | Caidan Williams <caidan@internet.dev> | 2025-07-22 13:34:06 -0700 |
---|---|---|
committer | Caidan Williams <caidan@internet.dev> | 2025-07-24 12:30:35 -0700 |
commit | 12e67f53dd6ca0d807eab84813543b663e4b260d (patch) | |
tree | eb7d9133b512a83e110fc879a51d59a5be8b2280 /src/components | |
parent | ce02e4aa3d7ba9ad12c0b3d6861ea4c436e93aef (diff) | |
download | voidsky-12e67f53dd6ca0d807eab84813543b663e4b260d.tar.zst |
fix(ui): overflow for TrendingVideos scroll container
Added overflow_hidden to the main container and set overflow_visible on the FlatList to ensure proper display of horizontally scrolling cards. This resolves clipping issues and improves the visual layout of trending videos.
Diffstat (limited to 'src/components')
-rw-r--r-- | src/components/interstitials/TrendingVideos.tsx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/components/interstitials/TrendingVideos.tsx b/src/components/interstitials/TrendingVideos.tsx index 3ed3eadd8..b76066330 100644 --- a/src/components/interstitials/TrendingVideos.tsx +++ b/src/components/interstitials/TrendingVideos.tsx @@ -71,6 +71,7 @@ export function TrendingVideos() { a.pt_lg, a.pb_lg, a.border_t, + a.overflow_hidden, t.atoms.border_contrast_low, t.atoms.bg_contrast_25, ]}> @@ -104,7 +105,8 @@ export function TrendingVideos() { horizontal showsHorizontalScrollIndicator={false} decelerationRate="fast" - snapToInterval={CARD_WIDTH + a.gap_sm.gap}> + snapToInterval={CARD_WIDTH + a.gap_sm.gap} + style={[a.overflow_visible]}> <View style={[ a.flex_row, |