Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix issue with normal buttons with icons #7073
Reported in #5350 (comment), this PR fixes an issue where the icon was misaligned when using it with a standard Button look.
This scopes and adds some CSS to fix and align things. If this isn't the right approach, another approach would be to use the Button component here instead of the IconButton component (which has that no-background look). But then we would have to allow passing an icon to the Button component.