mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
fix(datetime): set datetime direction the same on ltr and rtl (#11992)
This commit is contained in:
committed by
Brandy Carney
parent
6db8c147a6
commit
20c9dd7e64
@@ -59,6 +59,11 @@ ion-picker-cmp {
|
||||
justify-content: center;
|
||||
|
||||
contain: strict;
|
||||
|
||||
@include rtl() {
|
||||
// Date is the same format in both directions
|
||||
flex-direction: row-reverse;
|
||||
}
|
||||
}
|
||||
|
||||
.picker-col {
|
||||
@@ -137,11 +142,21 @@ ion-picker-cmp {
|
||||
}
|
||||
|
||||
.picker-opts-left {
|
||||
justify-content: flex-start;
|
||||
@include ltr() {
|
||||
justify-content: flex-start;
|
||||
}
|
||||
@include rtl() {
|
||||
justify-content: flex-end;
|
||||
}
|
||||
}
|
||||
|
||||
.picker-opts-right {
|
||||
justify-content: flex-end;
|
||||
@include ltr() {
|
||||
justify-content: flex-end;
|
||||
}
|
||||
@include rtl() {
|
||||
justify-content: flex-start;
|
||||
}
|
||||
}
|
||||
|
||||
.picker-above-highlight,
|
||||
|
||||
Reference in New Issue
Block a user