Skip to content

Commit

Permalink
feat(rtl): add start and end text-align for alert and picker
Browse files Browse the repository at this point in the history
references #5035
  • Loading branch information
brandyscarney committed Apr 13, 2017
1 parent 35f3947 commit cb5707d
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/components/alert/alert.scss
Original file line number Diff line number Diff line change
Expand Up @@ -118,5 +118,6 @@ ion-alert input {
font-size: inherit;
line-height: initial;
text-align: left;
text-align: start;
background: transparent;
}
2 changes: 2 additions & 0 deletions src/components/picker/picker.ios.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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,
Expand Down
2 changes: 2 additions & 0 deletions src/components/picker/picker.scss
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ ion-picker-cmp {
max-width: 50%;

text-align: right;
text-align: end;
white-space: nowrap;
}

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

text-align: left;
text-align: start;
white-space: nowrap;
}

Expand Down
2 changes: 2 additions & 0 deletions src/components/picker/picker.wp.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit cb5707d

Please sign in to comment.