mirror of
https://github.com/sussy-code/smov.git
synced 2024-12-20 14:37:43 +01:00
Merge branch 'dev' into v4
This commit is contained in:
commit
48dca948e8
1 changed files with 5 additions and 3 deletions
|
@ -62,10 +62,12 @@ function MediaCardContent({
|
|||
}`}
|
||||
>
|
||||
<div
|
||||
className={[
|
||||
className={classNames(
|
||||
"relative mb-4 pb-[150%] w-full overflow-hidden rounded-xl bg-mediaCard-hoverBackground bg-cover bg-center transition-[border-radius] duration-100",
|
||||
closable ? "" : "group-hover:rounded-lg",
|
||||
].join(" ")}
|
||||
{
|
||||
"group-hover:rounded-lg": !closable,
|
||||
}
|
||||
)}
|
||||
style={{
|
||||
backgroundImage: media.poster ? `url(${media.poster})` : undefined,
|
||||
}}
|
||||
|
|
Loading…
Reference in a new issue