mirror of
https://github.com/movie-web/movie-web.git
synced 2024-12-28 23:06:06 +00:00
Probably fix aspect ratio issue
This commit is contained in:
parent
207a02e1f6
commit
b2608505f8
|
@ -61,7 +61,7 @@ function MediaCardContent({
|
|||
>
|
||||
<div
|
||||
className={[
|
||||
"relative mb-4 aspect-[2/3] w-full overflow-hidden rounded-xl bg-mediaCard-hoverBackground bg-cover bg-center transition-[border-radius] duration-100",
|
||||
"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(" ")}
|
||||
style={{
|
||||
|
|
Loading…
Reference in a new issue