Skip to content

Commit c34bbbf

Browse files
fix(datepicker): fixed the datepicker component bidi layout issue. (#8161) (#8162)
* fix(datepicker): fixed the datepicker bidi layout issue. (#8161) Fixed the next & previous month arrow orientation for datepicker component in bidi(RTL) layout by adding the RTLCSS value directives. (#8161) * fix(datepicker): fixed the datepicker bidi layout issue. (#8161) Wrapped the RTL directive with #{}, so sass could correctly interpolates the comment as a directive (#8161) Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
1 parent d944018 commit c34bbbf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/components/src/components/date-picker/_flatpickr.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@
142142
width: rem(40px);
143143
padding: 0;
144144
fill: $icon-01;
145+
transform: scale(1, 1) #{'/*rtl: scale(-1,1)*/'};
145146
transition: background-color $duration--fast-01 motion(standard, productive);
146147

147148
&:hover {

0 commit comments

Comments
 (0)