Object-fit: Contain
-
Hi, I am having issues getting the preview images to fit within the container, currently most of the images are getting cut off on the edges. Is there a way to make the object fit contain? The below code did not work.
.dgwt-wcas-details-main-image img {
object-fit: contain !important;
}
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Object-fit: Contain’ is closed to new replies.