-
Notifications
You must be signed in to change notification settings - Fork 639
Closed
Labels
Description
Describe the bug
With version 35.x, Buttons have a new content grid, containing spots for leading and trailing icons along with the content of the button. The issue is that the columns are all 1fr by default, giving much more space to the icon cells than they need whilst compressing the content cell.
To Reproduce
Steps to reproduce the behavior:
- Create a button with leading and/or trailing icons, along with content
- See error
Expected behavior
Grid cells should be gridTemplateColumns: "min-content 1fr min-content"

