Skip to content

Commit

Permalink
Format the code
Browse files Browse the repository at this point in the history
  • Loading branch information
zoriya committed Dec 9, 2023
1 parent ddb9b29 commit 457a3c6
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions front/packages/ui/src/home/recommanded.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export const ItemDetails = ({
height: ItemDetails.layout.size,
flexDirection: "row",
bg: (theme) => theme.variant.background,
borderRadius: calc(px(imageBorderRadius), "+", ts(.25)),
borderRadius: calc(px(imageBorderRadius), "+", ts(0.25)),
overflow: "hidden",
borderColor: (theme) => theme.background,
borderWidth: ts(0.25),
Expand Down Expand Up @@ -127,7 +127,11 @@ export const ItemDetails = ({
})}
>
<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>
{(subtitle || isLoading) && (
<Skeleton {...css({ height: rem(0.8) })}>
Expand Down

0 comments on commit 457a3c6

Please sign in to comment.