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

Prevent clipping using overflow: visible #607

Merged
merged 2 commits into from
May 13, 2021
Merged

Conversation

colebemis
Copy link
Contributor

@colebemis colebemis commented Apr 23, 2021

image

In Safari, octicons were getting clipped at 85% zoom level The bug is likely a precision problem with Safari. The way Safari rounds the path information of the SVGs when you zoom causes part of the issue icon to be clipped.

This PR works around that bug by allowing SVG paths to overflow their container (overflow: visible).

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.

None yet

1 participant