susam/spcss

height: auto for image

th opened this issue · 0 comments

th commented

I've dropped sp.min.css into a HTML page with an image and it was badly distorted. The width (original wider than viewport) was reduced, but the height stayed the same, so it was much too high.

Maybe add height:auto; into the img block?