Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IE11 on Windows 7 doesn't honor max-width on main tag #34

Closed
wickedev opened this issue Jun 9, 2016 · 2 comments
Closed

IE11 on Windows 7 doesn't honor max-width on main tag #34

wickedev opened this issue Jun 9, 2016 · 2 comments
Assignees
Labels
bug Issue reports a bug
Milestone

Comments

@wickedev
Copy link

wickedev commented Jun 9, 2016

capture

Thank you for your work

@squidfunk
Copy link
Owner

Oh that's correct. I'm very short on time, so if you can provide a fix, I'm happy to merge it. Otherwise this problem should vanish with the rewrite I'm currently doing, but where progress is sadly really slow at the moment.

@squidfunk squidfunk added the bug Issue reports a bug label Jun 11, 2016
@squidfunk
Copy link
Owner

squidfunk commented Jun 26, 2016

This is an interesting bug. It stems from the fact that IE11 on Windows 7 doesn't have display: block defined on main in the user agent styles (source). Setting it explicitly fixes the problem. I will provide a fix in a second.

@squidfunk squidfunk changed the title Look like this in Internet Explorer Edge mode on wide display IE11 on Windows 7 doesn't honor max-width on main tag Jun 26, 2016
@squidfunk squidfunk added this to the 0.2.4 milestone Jun 26, 2016
@squidfunk squidfunk self-assigned this Jun 26, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue reports a bug
Projects
None yet
Development

No branches or pull requests

2 participants