Repository navigation
fix: safari billing page truncation - #8199
jasonzli-DEV wants to merge 1 commit into
Conversation
Pull request changelogAppAddedChangedDeprecatedRemovedFixedSecurityWebsiteAddedChangedDeprecatedRemovedFixedSecurityHostingAddedChangedDeprecatedRemovedFixedSecurity |
|
this is not how you solve a problem like this, pls don't contribute stuff unless you understand the problem |
I understand the problem and want to help. |
|
you just made the width some crazy magic number formula calculation |
Safari’s SVG sizing makes the logos take up too much width, so the billing cards expand beyond the viewport. The magic number formula sets each logo’s width from its existing height and the aspect ratio defined by the viewBox to fix the issue. I did say that there are a million ways to do something. If you want a different way, just say the word. |
This PR fixes an issue where resizing the billing page in Safari would cause it to go off the screen.
This also closes #8178.