fix: make posters a bit smaller

This commit is contained in:
Fredrik Burmester
2024-08-20 19:18:51 +02:00
parent 5e081751a4
commit eed4df6a8a
5 changed files with 17 additions and 15 deletions

View File

@@ -13,6 +13,7 @@ import { InfiniteHorizontalScroll } from "../common/InfiniteHorrizontalScroll";
import { TouchableItemRouter } from "../common/TouchableItemRouter";
import MoviePoster from "../posters/MoviePoster";
import { useCallback } from "react";
import { ItemCardText } from "../ItemCardText";
interface Props extends ViewProps {
collection: BaseItemDto;
@@ -56,11 +57,12 @@ export const MediaListSection: React.FC<Props> = ({ collection, ...props }) => {
key={index}
item={item}
className={`flex flex-col
${"w-32"}
${"w-28"}
`}
>
<View>
<MoviePoster item={item} />
<ItemCardText item={item} />
</View>
</TouchableItemRouter>
)}