thumbtack/thumbprint

Image component should respect `objectFit` even if height isn't provided

Closed this issue · 1 comments

danoc commented

The height prop can be used with objectFit to "crop" images. This is inconvenient for responsive designs since setting height in CSS is better. Currently, if height is passed in through CSS, the objectFit is ignored. We should explore changing the logic so that height is not required for objectFit.

danoc commented

This was fixed in #696.