Skip to content
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(Button): adjust button icon in small, medium size #15585

Merged
merged 2 commits into from
Jan 26, 2024

Conversation

tw15egan
Copy link
Collaborator

Closes #15553

Removes some margin that was causing alignment issues in the sm and md variants of Button with a renderIcon prop set.

Changelog

Changed

  • Removed 1px of top margin in sm and md non-icon-only variants of Button

Testing / Reviewing

I replicated the test story from the bug report for easier verification that the issue was resolved (Button --> ButtonTest). I will remove it before merging.

Copy link

netlify bot commented Jan 22, 2024

Deploy Preview for v11-carbon-react ready!

Name Link
🔨 Latest commit a33f26f
🔍 Latest deploy log https://app.netlify.com/sites/v11-carbon-react/deploys/65aeac7c354bdb0008cd0614
😎 Deploy Preview https://deploy-preview-15585--v11-carbon-react.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Member

@laurenmrice laurenmrice left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks TJ!

Copy link
Contributor

@andreancardona andreancardona left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@guidari guidari added this pull request to the merge queue Jan 26, 2024
Merged via the queue into carbon-design-system:main with commit c8b452a Jan 26, 2024
21 of 22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Vertical alignment of icons in buttons with both icon and text
4 participants