Skip to content

Conversation

@johnhooks
Copy link
Owner

This commit adds a negative margin to the svg of the button when text is present. This provides consistent padding whether the icon is on the left or right of the text.

Fixes: WordPress#60734

This commit adds a negative margin to the svg of the button when text
is present. This provides consistent padding whether the icon is on the
left or right of the text.

Fixes: WordPress#60734
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.

The Button component has incorrect padding with text and icon position right

2 participants