Skip to content

Commit a5b8696

Browse files
authored
fix(primitives): fix radio button sizing issue (#3074)
1 parent 5102361 commit a5b8696

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.changeset/small-planes-train.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"@aws-amplify/ui": patch
3+
"@aws-amplify/ui-react": patch
4+
---
5+
6+
fix(primitives): fix radio button sizing issue #2756

packages/ui/src/theme/css/component/radio.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
}
1111

1212
.amplify-radio__button {
13+
flex-shrink: 0;
1314
align-items: var(--amplify-components-radio-button-align-items);
1415
justify-content: var(--amplify-components-radio-button-justify-content);
1516
padding: var(--amplify-components-radio-button-padding);

0 commit comments

Comments
 (0)