Update src/styles/cardMod.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:55:00 +00:00
parent 17ef110f6f
commit 8726d042f2

View File

@ -9,10 +9,16 @@
background: linear-gradient(to top right, #262626, #292929, #262626); background: linear-gradient(to top right, #262626, #292929, #262626);
} }
.cMMPicture { .cMMPictureWrapper {
position: relative; position: relative;
width: 100%; width: 100%;
padding-top: 56.25%;
}
.cMMPicture {
position: absolute;
width: 100%; width: 100%;
height: 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 */
} }