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]: danger-ghost icon button is missaligned #14651

Closed
1 of 2 tasks
OmranAbazid opened this issue Sep 14, 2023 · 1 comment
Closed
1 of 2 tasks

[Bug]: danger-ghost icon button is missaligned #14651

OmranAbazid opened this issue Sep 14, 2023 · 1 comment

Comments

@OmranAbazid
Copy link

Package

@carbon/react

Browser

Chrome

Package version

v11

React version

v18

Description

The icon is misaligned for the danger-ghost button

Reproduction/example

https://codesandbox.io/s/mutable-haze-72vscd?file=/index.js

Steps to reproduce

Create a danger ghost button with an icon

Suggested Severity

None

Application/PAL

No response

Code of Conduct

@tw15egan
Copy link
Member

Icon-only buttons do not support any of the danger variants due to the naturally destructive actions associated with them
https://react.carbondesignsystem.com/?path=/docs/components-button--overview#icon-only-buttons

@tw15egan tw15egan closed this as not planned Won't fix, can't repro, duplicate, stale Sep 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

2 participants