Fix border radius

This commit is contained in:
Zoe Roux 2024-05-20 22:32:23 +02:00
parent bb14d9944a
commit 7b45b205a5
No known key found for this signature in database
3 changed files with 3 additions and 17 deletions

View File

@ -94,7 +94,7 @@ export const ImageBackground = <AsProps = ViewProps>({
{({ css, theme }) => (
<Container
{...(css(
[layout, !hideLoad && { borderRadius: imageBorderRadius, overflow: "hidden" }],
[layout, { borderRadius: imageBorderRadius, overflow: "hidden" }],
asProps,
) as AsProps)}
>

View File

@ -227,14 +227,7 @@ ItemGrid.Loader = (props: object) => {
props,
)}
>
<Poster.Loader
layout={{ width: percent(100) }}
{...css({
borderColor: (theme) => theme.background,
borderWidth: ts(0.5),
borderStyle: "solid",
})}
/>
<Poster.Loader layout={{ width: percent(100) }} />
<Skeleton />
<Skeleton {...css({ width: percent(50) })} />
</View>

View File

@ -176,14 +176,7 @@ EpisodeBox.Loader = (props: Stylable) => {
props,
)}
>
<Image.Loader
layout={{ width: percent(100), aspectRatio: 16 / 9 }}
{...css({
borderColor: (theme) => theme.background,
borderWidth: ts(0.5),
borderStyle: "solid",
})}
/>
<Image.Loader layout={{ width: percent(100), aspectRatio: 16 / 9 }} />
<Skeleton {...css({ width: percent(50) })} />
<Skeleton {...css({ width: percent(75), height: rem(0.8) })} />
</View>