web-bugs icon indicating copy to clipboard operation
web-bugs copied to clipboard

Image is stretched

Open bslassey opened this issue 12 years ago • 4 comments

URL: http://m.nationalreview.com/article/380280/david-brat-right-charles-c-w-cooke Browser: Firefox Mobile Version: 33.0 Problem type: Looks like the website has a bug. Site owner: No

Steps to Reproduce

  1. Navigate to: http://m.nationalreview.com/article/380280/david-brat-right-charles-c-w-cooke
  2. …

The image has a constant height but fits the width to the screen size. On my phone it's squished horizontally in portrait and stretched horizontality in land scape. This is also reproducible on desktop.

bslassey avatar Jun 13 '14 00:06 bslassey

The problem is in the CSS:

http://m.nationalreview.com/sites/default/files/css/cdn_css_S3O5qxofCSUPZH6n2vhgyTV37QsQTLujCL5z7s9Dt_M.css media="all" img, iframe { width: 100%; }

If you comment that out, the image will be displayed normal.

Mathlight avatar Jun 13 '14 05:06 Mathlight

Like @Mathlight said, Media (img and iframe 'Youtube') doesn't respect aspect ratio.

magsout avatar Jun 13 '14 05:06 magsout

Contacted https://twitter.com/magsout/status/494073819049783296

magsout avatar Jul 29 '14 10:07 magsout

This seems to have been fixed.

karlcow avatar Aug 11 '15 04:08 karlcow