mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-05-31 04:04:21 -04:00
Format the code
This commit is contained in:
parent
ddb9b2926d
commit
457a3c6709
@ -90,7 +90,7 @@ export const ItemDetails = ({
|
|||||||
height: ItemDetails.layout.size,
|
height: ItemDetails.layout.size,
|
||||||
flexDirection: "row",
|
flexDirection: "row",
|
||||||
bg: (theme) => theme.variant.background,
|
bg: (theme) => theme.variant.background,
|
||||||
borderRadius: calc(px(imageBorderRadius), "+", ts(.25)),
|
borderRadius: calc(px(imageBorderRadius), "+", ts(0.25)),
|
||||||
overflow: "hidden",
|
overflow: "hidden",
|
||||||
borderColor: (theme) => theme.background,
|
borderColor: (theme) => theme.background,
|
||||||
borderWidth: ts(0.25),
|
borderWidth: ts(0.25),
|
||||||
@ -127,7 +127,11 @@ export const ItemDetails = ({
|
|||||||
})}
|
})}
|
||||||
>
|
>
|
||||||
<Skeleton {...css({ width: percent(100) })}>
|
<Skeleton {...css({ width: percent(100) })}>
|
||||||
{isLoading || <P {...css([{ m: 0, color: (theme: Theme) => theme.colors.white }, "title"])}>{name}</P>}
|
{isLoading || (
|
||||||
|
<P {...css([{ m: 0, color: (theme: Theme) => theme.colors.white }, "title"])}>
|
||||||
|
{name}
|
||||||
|
</P>
|
||||||
|
)}
|
||||||
</Skeleton>
|
</Skeleton>
|
||||||
{(subtitle || isLoading) && (
|
{(subtitle || isLoading) && (
|
||||||
<Skeleton {...css({ height: rem(0.8) })}>
|
<Skeleton {...css({ height: rem(0.8) })}>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user