masoudit / antd-jalali-plus

Ant Design Jalali/Shamsi calendar DatePicker and RangePicker (Support Ant v5 and v4)
https://masoudit.github.io/antd-jalali-plus
2 stars 2 forks source link

RangePicker header has rtl issue #6

Closed mhoseini967 closed 2 months ago

mhoseini967 commented 3 months ago

in antd: 5.17.2 and antd-jalali-plus: v1.4.x Range Picker header has RTL problem.

Screenshot 2024-05-14 202312

i fixed by overwrite css:

.ant-picker-panel-layout .ant-picker-panels { direction: rtl !important; }

hamidrezaghanbari commented 3 months ago

Dear @mhoseini967 thank you for your point, but this problem still exist and we need more general way to fix this, because suppose you have multi language project which support jalali and georgian date picker in that case your direction: rtl !important wouldn't work.