mirror of
https://github.com/movie-web/movie-web.git
synced 2025-09-13 13:43:24 +00:00
Probably fix aspect ratio issue
This commit is contained in:
@@ -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={{
|
||||
|
Reference in New Issue
Block a user