object-fit icon indicating copy to clipboard operation
object-fit copied to clipboard

Does not respond to height set inside media queries.

Open simonerlandsen opened this issue 9 years ago • 4 comments

simonerlandsen avatar Jun 24 '15 11:06 simonerlandsen

Hey, can you please give me a more detailed description, ideally with a code snippet on how you use it and how it should behave and how it behaves?

anselmh avatar Jun 24 '15 11:06 anselmh

Hello. When an image height is set initially in css, and then changed inside of a media query later on in the css, the new height is not set on the image (or rather the image wrapper) on window resizing. Tested in IE.

http://codepen.io/anon/pen/vOWpdj

simonerlandsen avatar Jun 24 '15 12:06 simonerlandsen

Thanks, I’ll investigate as soon as possible. Which IE have you tested on?

anselmh avatar Jun 24 '15 12:06 anselmh

Thanks! Tested in IE 10 and IE 11 (in IE 9 the image doesn't show, as reported on another issue).

simonerlandsen avatar Jun 24 '15 12:06 simonerlandsen