Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

fix(fab): Restore horizontal alignment in IE11 #2715

Merged
merged 9 commits into from
May 22, 2018

Conversation

kfranqueiro
Copy link
Contributor

Also fixes markup to move material-icons to the icon element, as pointed out by Will in #2692.

@kfranqueiro kfranqueiro requested a review from williamernest May 8, 2018 23:09
@williamernest
Copy link
Contributor

williamernest commented May 9, 2018

It's better than it was, and addresses the issue regarding the icon being on the right, but it's still off in IE11.

We might want to just accept these changes as they are now, to fix the immediate regression, but file a bug to fix this in IE11 once and for all.

Before
before

After:
after

The icon on the fab in the bottom right was centered in the second picture.

@codecov-io
Copy link

codecov-io commented May 9, 2018

Codecov Report

Merging #2715 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #2715   +/-   ##
=======================================
  Coverage   98.48%   98.48%           
=======================================
  Files          98       98           
  Lines        4231     4231           
  Branches      538      538           
=======================================
  Hits         4167     4167           
  Misses         64       64

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 463e492...b9ffeb8. Read the comment docs.

@kfranqueiro kfranqueiro force-pushed the fix/fab-ie11-horiz-align branch from 126106b to 28978f8 Compare May 15, 2018 14:31
@kfranqueiro
Copy link
Contributor Author

kfranqueiro commented May 17, 2018

I can file a bug for the vertical alignment. AFAICT, that vertical alignment was a thing (at least according to the in-repo demos and screenshot tests) even prior to the changes to support SVGs in FABs.

The baffling part, though, is that if I throw FABs into a codepen running 0.34.1, they align fine in IE 11... but in our demos on 0.34.1, they don't. Removing normalize.css makes no difference.

Edit: Filed #2752.

@kfranqueiro kfranqueiro force-pushed the fix/fab-ie11-horiz-align branch from e6bb134 to a420fc0 Compare May 18, 2018 14:38
Kenneth G. Franqueiro added 2 commits May 18, 2018 11:00
Copy link
Contributor

@williamernest williamernest left a comment

Choose a reason for hiding this comment

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

LGTM

@kfranqueiro kfranqueiro merged commit fded349 into master May 22, 2018
@kfranqueiro kfranqueiro deleted the fix/fab-ie11-horiz-align branch May 22, 2018 15:00
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants