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 Safari rendering of arrows #527

Merged
merged 2 commits into from
Feb 2, 2021
Merged

Fix Safari rendering of arrows #527

merged 2 commits into from
Feb 2, 2021

Conversation

aaronshekey
Copy link
Contributor

This PR closes #485 by removing fill-rules from the problematic arrow icons. This can be seen on 1x screens running Safari. It's also visible in quickview on macOS.

I also re-authored the desktop-download-16 to assume a non-zero fill rule, which Safari expects. Seems other browsers do not have this assumption. I think the root cause is these icons were authored with non-zero fills, but then the SVG toggles them to be evenodd. Safari seems to be the only browser that cares about this discrepancy.

image

@vercel
Copy link

vercel bot commented Dec 17, 2020

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/primer/octicons/ejulpsdqw
✅ Preview: https://octicons-git-fork-aaronshekey-bugfix-arrows.primer.now.sh

@vercel vercel bot temporarily deployed to Preview December 17, 2020 20:36 Inactive
@aaronshekey
Copy link
Contributor Author

👋

@vercel vercel bot temporarily deployed to Preview February 2, 2021 18:33 Inactive
@colebemis colebemis merged commit 0deebf3 into primer:master Feb 2, 2021
@colebemis
Copy link
Contributor

Thank you, @aaronshekey ❤️

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.

Safari fold / unfold rendering issues
2 participants