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(icon): fix the clipboard icon on safari ios #10762

Merged
merged 2 commits into from
Mar 21, 2024

Conversation

fiji-flo
Copy link
Contributor

Summary

Problem

The copy to clipboard icon for code examples is cur off when using Safari on iOS.

Solution

Setting padding to 0 fixes the issue (seems to be a newly added default style).


Screenshots

Before

safari_copy

After

safari_copy_fix


How did you test this change?

Locally / remote debugging on my phone.

Only happens on iOS. Seems like a newly added default style.
Setting padding to 0 resolves the issue.
@fiji-flo fiji-flo requested a review from a team as a code owner March 21, 2024 14:29
@fiji-flo fiji-flo merged commit f4b6be2 into mdn:main Mar 21, 2024
10 checks passed
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.

2 participants