mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
feat(rtl): add start and end text-align for alert and picker
references #5035
This commit is contained in:
@@ -118,5 +118,6 @@ ion-alert input {
|
||||
font-size: inherit;
|
||||
line-height: initial;
|
||||
text-align: left;
|
||||
text-align: start;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
@@ -72,6 +72,7 @@ $picker-button-ios-strong-font-weight: 600 !default;
|
||||
flex: 1;
|
||||
|
||||
text-align: right;
|
||||
text-align: end;
|
||||
}
|
||||
|
||||
.picker-ios .picker-toolbar-button:last-child .picker-button {
|
||||
@@ -82,6 +83,7 @@ $picker-button-ios-strong-font-weight: 600 !default;
|
||||
font-weight: normal;
|
||||
|
||||
text-align: left;
|
||||
text-align: start;
|
||||
}
|
||||
|
||||
.picker-ios .picker-button,
|
||||
|
||||
@@ -95,6 +95,7 @@ ion-picker-cmp {
|
||||
max-width: 50%;
|
||||
|
||||
text-align: right;
|
||||
text-align: end;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
@@ -107,6 +108,7 @@ ion-picker-cmp {
|
||||
max-width: 50%;
|
||||
|
||||
text-align: left;
|
||||
text-align: start;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
|
||||
@@ -73,12 +73,14 @@ $picker-wp-option-selected-color: color($colors-wp, primary) !defaul
|
||||
flex: 1;
|
||||
|
||||
text-align: right;
|
||||
text-align: end;
|
||||
}
|
||||
|
||||
.picker-wp .picker-toolbar-cancel {
|
||||
font-weight: normal;
|
||||
|
||||
text-align: left;
|
||||
text-align: start;
|
||||
}
|
||||
|
||||
.picker-wp .picker-button,
|
||||
|
||||
Reference in New Issue
Block a user