1
0
Fork 0
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:
mrjvs 2023-11-28 22:12:10 +01:00
commit 48dca948e8

View file

@ -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,
}}