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