-
Notifications
You must be signed in to change notification settings - Fork 2k
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 spacing around domain transfer lock icon #96980
Conversation
Jetpack Cloud live (direct link)
Automattic for Agencies live (direct link)
|
This PR does not affect the size of JS and CSS bundles shipped to the user's browser. Generated by performance advisor bot at iscalypsofastyet.com. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works as expected 👍 I would take the opportunity to also remove the viewBox
attribute on this line, though. The icon will align better with the baseline of the text if we do that.
Line 43 in 4dc9d32
<Icon icon={ lock } size={ 16 } viewBox="0 0 22 22" /> |
Same thing here (we could also change the size
attribute to 16
)
wp-calypso/client/my-sites/domains/domain-management/transfer/transfer-page/index.tsx
Line 275 in cd54f07
<Icon icon={ lock } size={ 15 } viewBox="4 0 18 20" /> |
@fredrikekelund, thanks for the suggestion. I tried that, but the icon became distorted. I changed the size and viewPort for one of the icons to make them consistent, though. |
I also tested it and didn't notice any distortion 🤔 Did you see that with both icons or just one? cc @matt-west for any design advice |
Related to https://github.com/Automattic/dotcom-forge/issues/9789
Proposed Changes
I propose to fix the spacing around the domain transfer lock icon on the manage domain page and in the transfer form.
Why are these changes being made?
The spacing between the icon and text is incorrect.
Testing Instructions
/domains/manage
pagePre-merge Checklist