Skip to content

Commit cb5707d

Browse files
committed
feat(rtl): add start and end text-align for alert and picker
references #5035
1 parent 35f3947 commit cb5707d

File tree

4 files changed

+7
-0
lines changed

4 files changed

+7
-0
lines changed

src/components/alert/alert.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,5 +118,6 @@ ion-alert input {
118118
font-size: inherit;
119119
line-height: initial;
120120
text-align: left;
121+
text-align: start;
121122
background: transparent;
122123
}

src/components/picker/picker.ios.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ $picker-button-ios-strong-font-weight: 600 !default;
7272
flex: 1;
7373

7474
text-align: right;
75+
text-align: end;
7576
}
7677

7778
.picker-ios .picker-toolbar-button:last-child .picker-button {
@@ -82,6 +83,7 @@ $picker-button-ios-strong-font-weight: 600 !default;
8283
font-weight: normal;
8384

8485
text-align: left;
86+
text-align: start;
8587
}
8688

8789
.picker-ios .picker-button,

src/components/picker/picker.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ ion-picker-cmp {
9595
max-width: 50%;
9696

9797
text-align: right;
98+
text-align: end;
9899
white-space: nowrap;
99100
}
100101

@@ -107,6 +108,7 @@ ion-picker-cmp {
107108
max-width: 50%;
108109

109110
text-align: left;
111+
text-align: start;
110112
white-space: nowrap;
111113
}
112114

src/components/picker/picker.wp.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,12 +73,14 @@ $picker-wp-option-selected-color: color($colors-wp, primary) !defaul
7373
flex: 1;
7474

7575
text-align: right;
76+
text-align: end;
7677
}
7778

7879
.picker-wp .picker-toolbar-cancel {
7980
font-weight: normal;
8081

8182
text-align: left;
83+
text-align: start;
8284
}
8385

8486
.picker-wp .picker-button,

0 commit comments

Comments
 (0)