fix: Jellyseerr slider bottom padding for posters

This commit is contained in:
herrrta
2025-03-05 01:24:09 -05:00
parent e15b19deb3
commit 27cd73efab
2 changed files with 6 additions and 2 deletions

View File

@@ -5,9 +5,11 @@ import { Text } from "@/components/common/Text";
import { FlashList } from "@shopify/flash-list";
import {View, ViewProps} from "react-native";
import { t } from "i18next";
import {ContentStyle} from "@shopify/flash-list/src/FlashListProps";
export interface SlideProps {
slide: DiscoverSlider;
contentContainerStyle?: ContentStyle;
}
interface Props<T> extends SlideProps {
@@ -27,6 +29,7 @@ const Slide = <T extends unknown>({
renderItem,
keyExtractor,
onEndReached,
contentContainerStyle,
...props
}: PropsWithChildren<Props<T> & ViewProps>
) => {
@@ -39,6 +42,7 @@ const Slide = <T extends unknown>({
horizontal
contentContainerStyle={{
paddingHorizontal: 16,
...(contentContainerStyle ? contentContainerStyle : {})
}}
showsHorizontalScrollIndicator={false}
keyExtractor={keyExtractor}