I'm struggling to adjust the width of an image to match it with the card size without stretching it or breaking the layout. Most solutions I've come across recommend using inline-block
, but this doesn't work well for smaller images. It seems like a simple problem, but I just can't seem to find the right solution. Check out my Fiddle