Skip to content

Commit 55e1c29

Browse files
committed
fix(radio-group): use inline div to avoid extra spacing
1 parent 33417fe commit 55e1c29

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

core/src/components/radio-group/radio-group.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ ion-radio-group {
88
vertical-align: top;
99
}
1010

11+
.radio-group-wrapper {
12+
display: inline;
13+
}
14+
1115
// Radio Group: Top
1216
// --------------------------------------------------
1317

core/src/components/radio-group/radio-group.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ export class RadioGroup implements ComponentInterface {
298298
Without the wrapper, the children radio will fire the blur event
299299
on focus, instead of waiting for them to be blurred.
300300
*/}
301-
<div>
301+
<div class="radio-group-wrapper">
302302
<slot></slot>
303303
</div>
304304
</Host>

0 commit comments

Comments
 (0)