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

fix(styles): navigation progress buttons to not align properly on IE #875

Merged
merged 1 commit into from
Jan 31, 2020
Merged

fix(styles): navigation progress buttons to not align properly on IE #875

merged 1 commit into from
Jan 31, 2020

Conversation

ivan-aksamentov
Copy link
Member

@ivan-aksamentov ivan-aksamentov commented Jan 30, 2020

@kairstenfay
Hi Kairsten,

Pardon me for this blatant intrusion into your private branch.

I was playing with IE fixes today and noticed that one of the styling bugs is much easier to fix on your branch (compared to master). It probably will be merged soon(ish) anyway, right? So I decided to base my fix here, rather that dealing with master, which has the component in question in a bit of a hairy state.

Anyways, this commit fixes navigation progress buttons to not align properly in flexbox container when browsing using Internet Explorer (any version).

This is, what I believe to be a browser bug, so called "flexbug-15" as described in:
https://github.com/philipwalton/flexbugs#flexbug-15
I applied the workaround as described there.

Originally reported by @emmahodcroft at: #655

There are still styling issues in IE, but at least working navigation makes narrative usable for these folks who still use IE.

Before:
before

After:
after

Do you think you can merge these changes along with yours?

This fixes navigation progress buttons to not align properly in flexbox container when browsing using Internet Explorer (any version).

This is a browser bug, so called "flexbug-15" as described in:
https://github.com/philipwalton/flexbugs#flexbug-15
I applied the workaround as described there.

Originally reported by @emmahodcroft at: #655
@ivan-aksamentov
Copy link
Member Author

I also submitted same fix for the master branch anyways: #876
The style is inline there, so it's not really the same fix, I guess.

@kairstenfay
Copy link
Contributor

Thanks for submitting this, @ivan-aksamentov! This resolves #655.

@kairstenfay kairstenfay merged commit ef595c8 into nextstrain:narrative-mobile Jan 31, 2020
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