-
Notifications
You must be signed in to change notification settings - Fork 32
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
Button type directly in class #763
Conversation
Affected libs:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't really see the meaning of this change, it complexifies the button api.
Couldn't you adopt another approach ?
@fgravin It's not really a big change, instead of It's just a small step to fix the display of not secondary buttons. It's intended to get rid of this gn-ui-button either which will result in a But I couldn't really understand why in the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wait, how come this fixes the issue? edit: sorry, just saw the above messages. I think if we're going to modify every gn-ui-button usage then we might as well use the opportunity to get rid of this component altogether? But I would be very interested to know the underlying reason for this problem.
Revert "fix: button type directly in class" This reverts commit e111a8e. fix: button type directly in class
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Fix buttons not using their tailwind classes.