carbon
carbon copied to clipboard
[BugFix] Fix exported image cut off - Safari
when exporting on safari, the image is offset to the left by 50%.
I adjusted the transform configuration to counter that position offset ONLY when Safari
is detected in the user agent.
tested to work on the various resolutions (1x, 2x, 4x) for "download" and "open"
before:
After:
Closes #1351
@baruchadi is attempting to deploy a commit to the Carbon Team on Vercel.
A member of the Team first needs to authorize it.
In 4x
mode, this hack may not work. Would you mind to provide an instance to test it?
👋 @pan93412 Here are the various exports in different resolutions:
[Safari Version 15.5 (17613.2.7.1.8)]
1x
2x
4x
Seems working as intended! 🎉
Thanks a lot to your work!
Hey all, who do I need to reach out to in order to get this PR reviewed & hopefully merged?
Cheers!
r? @mfix22