Hey,
I have a cropper with a given width (25% of the screen). If i load an image that is wider than the width of the cropper, the height of the container is way too large. It seems that the width of the container is bounded, but the height is derived from original image.
This image shows the problem.

This image shows the expected behaviour.

Best regards!
.img-container > img {
max-width: 100%;
}
thanks it worked
Most helpful comment