Skip to content

Commit

Permalink
style: optimize DatePicker footer rtl style (#26158)
Browse files Browse the repository at this point in the history
  • Loading branch information
xrkffgg committed Aug 12, 2020
1 parent 7d50070 commit 0c1504c
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions components/date-picker/style/rtl.less
Expand Up @@ -102,6 +102,7 @@
.picker-cell-inner(~'@{picker-cell-inner-cls}');
}

// ======================== Body ==========================
.picker-cell-inner(@cellClassName) {
.@{cellClassName} {
position: relative;
Expand Down Expand Up @@ -234,6 +235,17 @@
}
}

// ======================== Footer ========================
&-footer {
&-extra {
.@{picker-prefix-cls}-dropdown-rtl & {
direction: rtl;
text-align: right;
}
}
}

// ====================== Time Panel ======================
&-time-panel {
.@{picker-prefix-cls}-panel-rtl & {
direction: ltr;
Expand Down

0 comments on commit 0c1504c

Please sign in to comment.