Skip to content

Commit 8c293df

Browse files
authored
Update icl.css
1 parent 7b76099 commit 8c293df

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

assets/css/icl.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,9 +241,9 @@
241241
}
242242

243243
.card img {
244-
width: 100%;
244+
width: auto;
245245
height: 250px; /* Adjust height to desired uniform size */
246-
object-fit: cover; /* Ensures the image fills frame without distortion */
246+
object-fit: contain; /* Ensures the image fills frame without distortion */
247247
object-position: center; /* Centers image crop */
248248
background-color: white; /* Prevents odd backgrounds when transparent */
249249
}

0 commit comments

Comments
 (0)