Fix episodes runtime wrap

This commit is contained in:
Zoe Roux 2023-12-19 22:52:49 +01:00
parent 022cd239d5
commit 85ba643bcc

View File

@ -298,7 +298,11 @@ export const EpisodeLine = ({
)}
</Skeleton>
{isLoading ||
(runtime && <Skeleton>{isLoading || <SubP>{displayRuntime(runtime)}</SubP>}</Skeleton>)}
(runtime && (
<Skeleton>
{isLoading || <SubP {...css({ flexShrink: 0 })}>{displayRuntime(runtime)}</SubP>}
</Skeleton>
))}
</View>
<View {...css({ flexDirection: "row" })}>
<Skeleton>{isLoading || <P numberOfLines={3}>{overview}</P>}</Skeleton>