mirror of
https://github.com/streamyfin/streamyfin.git
synced 2026-06-09 23:48:41 +01:00
fix: horrizontal padding issue
This commit is contained in:
@@ -513,7 +513,7 @@ export default function search() {
|
|||||||
))}
|
))}
|
||||||
</View>
|
</View>
|
||||||
) : debouncedSearch.length === 0 && searchType === "Discover" ? (
|
) : debouncedSearch.length === 0 && searchType === "Discover" ? (
|
||||||
<View className="flex flex-col px-4">
|
<View className="flex flex-col">
|
||||||
{sortBy?.(
|
{sortBy?.(
|
||||||
jellyseerrDiscoverSettings?.filter((s) => s.enabled),
|
jellyseerrDiscoverSettings?.filter((s) => s.enabled),
|
||||||
"order"
|
"order"
|
||||||
|
|||||||
@@ -71,11 +71,14 @@ const DiscoverSlide: React.FC<Props> = ({ slide }) => {
|
|||||||
flatData &&
|
flatData &&
|
||||||
flatData?.length > 0 && (
|
flatData?.length > 0 && (
|
||||||
<View className="mb-4">
|
<View className="mb-4">
|
||||||
<Text className="font-bold text-lg mb-2">
|
<Text className="font-bold text-lg mb-2 px-4">
|
||||||
{DiscoverSliderType[slide.type].toString().toTitle()}
|
{DiscoverSliderType[slide.type].toString().toTitle()}
|
||||||
</Text>
|
</Text>
|
||||||
<FlashList
|
<FlashList
|
||||||
horizontal
|
horizontal
|
||||||
|
contentContainerStyle={{
|
||||||
|
paddingLeft: 16,
|
||||||
|
}}
|
||||||
showsHorizontalScrollIndicator={false}
|
showsHorizontalScrollIndicator={false}
|
||||||
keyExtractor={(item) => item!!.id.toString()}
|
keyExtractor={(item) => item!!.id.toString()}
|
||||||
estimatedItemSize={250}
|
estimatedItemSize={250}
|
||||||
|
|||||||
Reference in New Issue
Block a user