-
Notifications
You must be signed in to change notification settings - Fork 85
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
Allowing padding overriding for MenuItem and IconButton #5640
Labels
Comments
FE-5567 |
edleeks87
added a commit
that referenced
this issue
Dec 1, 2022
…tem if no onClick/href set No longer sets the padding styling on the internal anchor or button elements rendered internally by the `MenuItem` if both `onClick` and `href` props are not passed fix #5640
9 tasks
edleeks87
added a commit
that referenced
this issue
Dec 7, 2022
…tem if no onClick/href set No longer sets the padding styling on the internal anchor or button elements rendered internally by the `MenuItem` if both `onClick` and `href` props are not passed fix #5640
edleeks87
added a commit
that referenced
this issue
Dec 7, 2022
…tem if no onClick/href set No longer sets the padding styling on the internal anchor or button elements rendered internally by the `MenuItem` if both `onClick` and `href` props are not passed fix #5640
🎉 This issue has been resolved in version 111.20.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
sianford
pushed a commit
that referenced
this issue
Jan 4, 2023
…tem if no onClick/href set No longer sets the padding styling on the internal anchor or button elements rendered internally by the `MenuItem` if both `onClick` and `href` props are not passed fix #5640
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Desired behaviour
Allow the padding for MenuItem and IconButton components to be overridden and set to 0, if desired, as can be done with Button
Current behaviour
These components apply a default padding of 16, which may be undesirable
Suggested Solution
No response
CodeSandbox or Storybook URL
No response
Anything else we should know?
https://codesandbox.io/s/youthful-darwin-qtjnpk?file=/src/index.js
Confidentiality
The text was updated successfully, but these errors were encountered: