We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6490b27 commit 3b7bf41Copy full SHA for 3b7bf41
.changeset/dull-beans-dance.md
@@ -0,0 +1,5 @@
1
+---
2
+"@primer/react": patch
3
4
+
5
+Set the `min-width` of `IconButton` to `unset` to resolve layout issues.
packages/react/src/Button/ButtonBase.module.css
@@ -71,7 +71,7 @@
71
&:where(.IconButton) {
72
display: inline-grid;
73
width: var(--control-medium-size);
74
- min-width: var(--control-medium-size);
+ min-width: unset;
75
/* stylelint-disable-next-line primer/spacing */
76
padding: unset;
77
place-content: center;
0 commit comments