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

Box shadow atomic class fix for IE 11 to Edge 18 #612

Merged
merged 6 commits into from Jan 9, 2020

Conversation

tomgenoni
Copy link
Contributor

@tomgenoni tomgenoni commented Jan 8, 2020

Adds CSS targeted only at IE 11 through Edge 18 browsers with different, darker box-shadow values so they render closer to what modern browsers use. In the original ticket the fix was to use an outline but visually it's too far off.

The top row is how it renders in Chrome/Safari/Firefox. The bottom row is how it looks in IE/Edge with fix applied.

Screen Shot 2020-01-07 at 1 51 04 PM

This was tested in all Chrome/Safari/Firefox, iOS Safari, Android Galaxy S9, Windows Phone, IE 11 and all Edge versions including Chromium 79 beta.

Fixes #476

@tomgenoni tomgenoni changed the title Box shadow fix for IE 11 to Edge 18 Box shadow atomic class fix for IE 11 to Edge 18 Jan 8, 2020
@tomgenoni tomgenoni marked this pull request as ready for review January 8, 2020 21:29
@tomgenoni tomgenoni requested a review from danoc January 8, 2020 21:29
Co-Authored-By: Daniel O’Connor <doconnor@thumbtack.com>
@tomgenoni tomgenoni merged commit 0e7b83c into master Jan 9, 2020
@tomgenoni tomgenoni deleted the ie-edge-box-shadow-fix branch January 9, 2020 00:26
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.

[@thumbtack/thumbprint-atomic]: Box shadows in IE 11 are too faint
2 participants