-
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
MenuItem with Icons misaligned due to padding #7096
Labels
Comments
FE-7014 |
damienrobson-sage
added a commit
that referenced
this issue
Dec 9, 2024
When used alongside menu items with icons, icon-less menu items are misaligned Resolves #7096
6 tasks
carbonci
pushed a commit
that referenced
this issue
Dec 12, 2024
## [144.21.0](v144.20.1...v144.21.0) (2024-12-12) ### Features * **menu-item:** fix padding when child of Menu and no icon ([adb4c34](adb4c34)), closes [#7096](#7096)
🎉 This issue has been resolved in version 144.21.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
some button texts with icons are getting a 2px padding at the bottom, and there's no props available to manipulate the spacing.

Reproduction
https://stackblitz.com/edit/parsium-carbon-starter-32z3th?file=src%2FApp.tsx
Steps to reproduce
inspect a button with an icon, you'll find there's no way to change the button text padding or relative position within the button
JIRA ticket numbers (Sage only)
SBS-114938
Suggested solution
No response
Carbon version
142.13.1
Design tokens version
No response
Relevant browsers
Chrome
Relevant OSs
MacOS
Additional context
No response
Confidentiality
The text was updated successfully, but these errors were encountered: