Skip to content

Fix homepage image from being too large in IE#940

Merged
maya merged 10 commits into
v0.9.xfrom
fix-home-img-ie
Jan 22, 2016
Merged

Fix homepage image from being too large in IE#940
maya merged 10 commits into
v0.9.xfrom
fix-home-img-ie

Conversation

@maya

@maya maya commented Dec 23, 2015

Copy link
Copy Markdown
Contributor

Found the issue of images inside of links being too large on the homepage, which was found and fixed for Firefox in #863, also exists for IE.

Even though the container the image is in has a defined width, it does not obey its width to fill the container. Instead, it exceeds that width and appears at it's full size.

This fix adds a max-width on the image link. Safari and Chrome will fill the width of the container it's in. Firefox and IE will only do this for direct parent containers. Since this is a grandparent container, it does not obey it.

This screenshot shows this fixes the issue in IE (tested in IE9 and IE10):

screen shot 2015-12-22 at 5 01 18 pm

Fixes #863.

@maya maya added the bug label Dec 23, 2015
Comment thread CHANGELOG.md Outdated

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should be specific on the version of Internet Explorer that was having an issue. Please add which versions of IE this is effected by and solves for.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@juliaelman I didn't put the IE version bc it effects all versions.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@maya hrmmm... all versions meaning IE[X] - ? only the one's we support? Looks like you mentioned testing only on IE9 - 10.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@juliaelman Yes all versions of IE, I explicitly tested IE9-11 and assuming it effects below IE9 as well.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@juliaelman actually, just checked and it doesn't effect IE Edge. I can explicitly state IE11 and below.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated in 0ed253d.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@maya I still think we need to be explicit and state IE9 - 11, as we have not tested other versions of IE outside of those and don't want to make any assumptions.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@juliaelman fixed in c9cdb5f.

@juliasolorzano

Copy link
Copy Markdown

Looks good! Added note above about IE versioning, but otherwise looks good to me.

@juliasolorzano

Copy link
Copy Markdown

@maya 👍 merge away!

maya pushed a commit that referenced this pull request Jan 22, 2016
Fix homepage image from being too large in IE
@maya maya merged commit e934030 into v0.9.x Jan 22, 2016
@maya maya deleted the fix-home-img-ie branch January 22, 2016 17:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants