mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-05-31 04:04:21 -04:00
Front: Recommended: Fix position of play button when empty list of genres
This commit is contained in:
parent
b3a9c9dae8
commit
1eadcb6521
@ -158,9 +158,9 @@ export const ItemDetails = ({
|
|||||||
minHeight: px(50),
|
minHeight: px(50),
|
||||||
})}
|
})}
|
||||||
>
|
>
|
||||||
{(isLoading || genres) && (
|
{(
|
||||||
<ScrollView horizontal {...css({ alignItems: "center" })}>
|
<ScrollView horizontal {...css({ alignItems: "center" })}>
|
||||||
{(genres || [...Array(3)])?.map((x, i) => (
|
{(genres ?? Array(3))?.map((x, i) => (
|
||||||
<Chip key={x ?? i} size="small" {...css({ mX: ts(0.5) })}>
|
<Chip key={x ?? i} size="small" {...css({ mX: ts(0.5) })}>
|
||||||
{x ?? <Skeleton {...css({ width: rem(3), height: rem(0.8) })} />}
|
{x ?? <Skeleton {...css({ width: rem(3), height: rem(0.8) })} />}
|
||||||
</Chip>
|
</Chip>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user