mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
refactor(radio-group): change supporting-text class to radio-group-top
This commit is contained in:
@@ -7,6 +7,6 @@
|
||||
|
||||
// Add padding to the error and helper text when used in a
|
||||
// list to align them with the list header and item text.
|
||||
ion-list .supporting-text {
|
||||
ion-list .radio-group-top {
|
||||
@include padding-horizontal($item-ios-padding-start, $item-ios-padding-end);
|
||||
}
|
||||
|
||||
@@ -7,6 +7,6 @@
|
||||
|
||||
// Add padding to the error and helper text when used in a
|
||||
// list to align them with the list header and item text.
|
||||
ion-list .supporting-text {
|
||||
ion-list .radio-group-top {
|
||||
@include padding-horizontal($item-md-padding-start, $item-md-padding-end);
|
||||
}
|
||||
|
||||
@@ -11,7 +11,7 @@ ion-radio-group {
|
||||
// Radio Group: Supporting Text
|
||||
// --------------------------------------------------
|
||||
|
||||
.supporting-text {
|
||||
.radio-group-top {
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
|
||||
@@ -252,7 +252,7 @@ export class RadioGroup implements ComponentInterface {
|
||||
}
|
||||
|
||||
return (
|
||||
<div class="supporting-text">
|
||||
<div class="radio-group-top">
|
||||
<div id={helperTextId} class="helper-text">
|
||||
{helperText}
|
||||
</div>
|
||||
|
||||
@@ -197,7 +197,7 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, screenshot, co
|
||||
await page.setContent(
|
||||
`
|
||||
<style>
|
||||
.supporting-text {
|
||||
.radio-group-top {
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
@@ -222,7 +222,7 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, screenshot, co
|
||||
await page.setContent(
|
||||
`
|
||||
<style>
|
||||
.supporting-text {
|
||||
.radio-group-top {
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user