-
Notifications
You must be signed in to change notification settings - Fork 0
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
[BUG] Button with Text and Icon spacing needs amending #331
Comments
Padding between text and icon area should be 15px. The padding between the icon and the outside edge of the button should be 18px (left AND right if no text is displayed) |
Thanks @leighmaude for picking this up, we work in multiples of 4 at UKHO so would it work at 12px? Or was there another reason for the 15px? |
I measured the spacing on the existing button in the DS. Can make it 12px and 16px respectively? |
Ah I see, its probably out of date, we changed to multiples of 4 a while back Naran currently working on this in the Design system, not all designs have been updated - especially if you're looking at the ones in Figma. Yeah 12 or 16px whichever you think looks best. Aim for everything in multiples of 4 going forward. Its on my to do list to update components with Dave next week actually as we have a lot to update. |
12px padding between the text and the icon, 16px outside padding (l/r). Looks ok to me. |
That's perfect thanks @leighmaude, looks great |
Spacing needs amending to the icon button with text.
Task:
The text was updated successfully, but these errors were encountered: