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

[Bug]: Button text and icon is not aligned properly #17082

Closed
2 tasks done
amal-k-joy opened this issue Aug 1, 2024 · 0 comments · Fixed by #18076
Closed
2 tasks done

[Bug]: Button text and icon is not aligned properly #17082

amal-k-joy opened this issue Aug 1, 2024 · 0 comments · Fixed by #18076
Assignees

Comments

@amal-k-joy
Copy link

Package

@carbon/react

Browser

No response

Package version

1.63.0-rc.0

React version

No response

Description

Icon is shifted 1 px upward. This issue was highlighted by the designer in a design review prior to the release of the component.
size="sm"
kind="ghost"

image
image

Reproduction/example

https://stackblitz.com/edit/github-cmyg5o?file=src%2FApp.jsx

Steps to reproduce

  1. Create a ghost button of size sm with an icon and text

Suggested Severity

None

Application/PAL

No response

Code of Conduct

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: ✅ Done
Development

Successfully merging a pull request may close this issue.

3 participants