Skip to content

Commit 5edfdcf

Browse files
committed
refactor(radio-group): change supporting-text class to radio-group-top
1 parent 15c8a69 commit 5edfdcf

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@
77

88
// Add padding to the error and helper text when used in a
99
// list to align them with the list header and item text.
10-
ion-list .supporting-text {
10+
ion-list .radio-group-top {
1111
@include padding-horizontal($item-ios-padding-start, $item-ios-padding-end);
1212
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@
77

88
// Add padding to the error and helper text when used in a
99
// list to align them with the list header and item text.
10-
ion-list .supporting-text {
10+
ion-list .radio-group-top {
1111
@include padding-horizontal($item-md-padding-start, $item-md-padding-end);
1212
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ion-radio-group {
1111
// Radio Group: Supporting Text
1212
// --------------------------------------------------
1313

14-
.supporting-text {
14+
.radio-group-top {
1515
line-height: 1.5;
1616
}
1717

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ export class RadioGroup implements ComponentInterface {
252252
}
253253

254254
return (
255-
<div class="supporting-text">
255+
<div class="radio-group-top">
256256
<div id={helperTextId} class="helper-text">
257257
{helperText}
258258
</div>

core/src/components/radio-group/test/supporting-text/radio-group.e2e.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, screenshot, co
197197
await page.setContent(
198198
`
199199
<style>
200-
.supporting-text {
200+
.radio-group-top {
201201
font-size: 20px;
202202
}
203203
@@ -222,7 +222,7 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, screenshot, co
222222
await page.setContent(
223223
`
224224
<style>
225-
.supporting-text {
225+
.radio-group-top {
226226
font-size: 20px;
227227
}
228228

0 commit comments

Comments
 (0)