mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
fix(radio-group): use inline div to avoid extra spacing
This commit is contained in:
@@ -8,6 +8,10 @@ ion-radio-group {
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
.radio-group-wrapper {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
// Radio Group: Top
|
||||
// --------------------------------------------------
|
||||
|
||||
|
||||
@@ -298,7 +298,7 @@ export class RadioGroup implements ComponentInterface {
|
||||
Without the wrapper, the children radio will fire the blur event
|
||||
on focus, instead of waiting for them to be blurred.
|
||||
*/}
|
||||
<div>
|
||||
<div class="radio-group-wrapper">
|
||||
<slot></slot>
|
||||
</div>
|
||||
</Host>
|
||||
|
||||
Reference in New Issue
Block a user