mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-05-24 02:02:36 -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 }) => (
|
||||
<Container
|
||||
{...(css(
|
||||
[layout, !hideLoad && { borderRadius: imageBorderRadius, overflow: "hidden" }],
|
||||
[layout, { borderRadius: imageBorderRadius, overflow: "hidden" }],
|
||||
asProps,
|
||||
) as AsProps)}
|
||||
>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user