Front: Grid: If no subtitle, allow 2 lines for name

This commit is contained in:
Arthur Jamet 2023-12-09 08:45:25 +01:00 committed by Zoe Roux
parent c475691939
commit b3a9c9dae8

View File

@ -157,7 +157,7 @@ export const ItemGrid = ({
</PosterBackground>
<Skeleton>
{isLoading || (
<P numberOfLines={1} {...css([{ marginY: 0, textAlign: "center" }, "title"])}>
<P numberOfLines={subtitle ? 1 : 2} {...css([{ marginY: 0, textAlign: "center" }, "title"])}>
{name}
</P>
)}