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]: Not able to resize icons inside buttons #6316

Open
2 tasks done
SciSaif opened this issue Jan 9, 2025 · 2 comments
Open
2 tasks done

[bug]: Not able to resize icons inside buttons #6316

SciSaif opened this issue Jan 9, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@SciSaif
Copy link

SciSaif commented Jan 9, 2025

Describe the bug

Because of this change:
image
I am not able to change the size of the icon inside the button

Affected component/components

Button

How to reproduce

Button variant="outline" className='text-white bg-red-400 rounded-full ' size={'icon'} >
                <HandIcon size={36} />
</Button>

Codesandbox/StackBlitz link

No response

Logs

No response

System Info

Windows 11, Edge browser

Before submitting

  • I've made research efforts and searched the documentation
  • I've searched for existing issues
@SciSaif SciSaif added the bug Something isn't working label Jan 9, 2025
@JClackett
Copy link

possible workaround would be to do className="!size-9" on the icon

@adithpd
Copy link

adithpd commented Jan 14, 2025

This works

possible workaround would be to do className="!size-9" on the icon

This works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants