Update src/styles/cardGames.css
All checks were successful
Release to Staging / build_and_release (push) Successful in 44s

This commit is contained in:
freakoverse 2024-09-02 09:47:55 +00:00
parent 16b3c7684b
commit 9a192451f6

View File

@ -17,13 +17,19 @@
transform: scale(1); transform: scale(1);
} }
.cardGameMainWrapper {
position: relative;
padding-top: 150%;
}
.cardGameMain { .cardGameMain {
border-radius: 15px; border-radius: 15px;
box-shadow: 0 0 8px 0 rgb(0, 0, 0, 0.1); box-shadow: 0 0 8px 0 rgb(0, 0, 0, 0.1);
width: 100%; width: 100%;
object-fit: cover; /* Ensures the image covers the container like a background image */ object-fit: cover; /* Ensures the image covers the container like a background image */
height: 396px; position: absolute;
max-width: 264px; height: 100%;
top: 0;
} }
.cardGameMainTitle { .cardGameMainTitle {