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: Broken product switch on mobile devices - IE11 #550

Merged

Conversation

salarenko
Copy link
Contributor

@salarenko salarenko commented Dec 20, 2019

Related Issue

Closes #531

Description

IE11 has problem with flex-basis value. For some reason IE11 doesn't respect elements height value if flex-basis: 25% is used.
Since in mobile mode products are aligned as a list, my solution is changing to flex-basis: auto on mobiles.

To be honest product-switch styles are a little bit messy. I'd recommend small refactor in the future.

Before:

image

After:

image

@salarenko salarenko changed the title Change flex-basis value | Center icons in IE11 fix: Broken product switch on mobile devices - IE11 Dec 20, 2019
@netlify
Copy link

netlify bot commented Dec 20, 2019

Deploy preview for fundamental-styles ready!

Built with commit 11a1b45

https://deploy-preview-550--fundamental-styles.netlify.com

@InnaAtanasova
Copy link
Contributor

To be honest product-switch styles are a little bit messy. I'd recommend small refactor in the future.

@salarenko , could you work on this after the holidays? Any improvements are more than welcome

@InnaAtanasova InnaAtanasova added this to the Sprint 28 - Sydney milestone Jan 6, 2020
@InnaAtanasova InnaAtanasova added this to In progress in Development via automation Jan 6, 2020
@InnaAtanasova InnaAtanasova moved this from In progress to Review in progress in Development Jan 6, 2020
Development automation moved this from PRs Review in progress to PRs Reviewer approved Jan 9, 2020
@InnaAtanasova InnaAtanasova merged commit 46c9c14 into SAP:master Jan 9, 2020
Development automation moved this from PRs Reviewer approved to Done Jan 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development
  
Done
Development

Successfully merging this pull request may close these issues.

Product switch for small screens is broken
3 participants