mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-05-31 04:04:21 -04:00
Fix border radius
This commit is contained in:
parent
bb14d9944a
commit
7b45b205a5
@ -94,7 +94,7 @@ export const ImageBackground = <AsProps = ViewProps>({
|
|||||||
{({ css, theme }) => (
|
{({ css, theme }) => (
|
||||||
<Container
|
<Container
|
||||||
{...(css(
|
{...(css(
|
||||||
[layout, !hideLoad && { borderRadius: imageBorderRadius, overflow: "hidden" }],
|
[layout, { borderRadius: imageBorderRadius, overflow: "hidden" }],
|
||||||
asProps,
|
asProps,
|
||||||
) as AsProps)}
|
) as AsProps)}
|
||||||
>
|
>
|
||||||
|
@ -227,14 +227,7 @@ ItemGrid.Loader = (props: object) => {
|
|||||||
props,
|
props,
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
<Poster.Loader
|
<Poster.Loader layout={{ width: percent(100) }} />
|
||||||
layout={{ width: percent(100) }}
|
|
||||||
{...css({
|
|
||||||
borderColor: (theme) => theme.background,
|
|
||||||
borderWidth: ts(0.5),
|
|
||||||
borderStyle: "solid",
|
|
||||||
})}
|
|
||||||
/>
|
|
||||||
<Skeleton />
|
<Skeleton />
|
||||||
<Skeleton {...css({ width: percent(50) })} />
|
<Skeleton {...css({ width: percent(50) })} />
|
||||||
</View>
|
</View>
|
||||||
|
@ -176,14 +176,7 @@ EpisodeBox.Loader = (props: Stylable) => {
|
|||||||
props,
|
props,
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
<Image.Loader
|
<Image.Loader layout={{ width: percent(100), aspectRatio: 16 / 9 }} />
|
||||||
layout={{ width: percent(100), aspectRatio: 16 / 9 }}
|
|
||||||
{...css({
|
|
||||||
borderColor: (theme) => theme.background,
|
|
||||||
borderWidth: ts(0.5),
|
|
||||||
borderStyle: "solid",
|
|
||||||
})}
|
|
||||||
/>
|
|
||||||
<Skeleton {...css({ width: percent(50) })} />
|
<Skeleton {...css({ width: percent(50) })} />
|
||||||
<Skeleton {...css({ width: percent(75), height: rem(0.8) })} />
|
<Skeleton {...css({ width: percent(75), height: rem(0.8) })} />
|
||||||
</View>
|
</View>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user