style: antd-picker-content set direction ltr (#50045)

* style: antd-picker-content set direction ltr

* style: add style constraints
This commit is contained in:
Avan 2024-07-24 21:58:39 +08:00 committed by GitHub
parent 6fa9ee15fa
commit e70ed089f5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -214,6 +214,15 @@ export const genPanelStyle = (token: SharedPickerToken): CSSObject => {
${componentCls}-super-next-icon`]: {
transform: 'rotate(-135deg)',
},
[`${componentCls}-time-panel`]: {
[`${componentCls}-content`]: {
direction: 'ltr',
'> *': {
direction: 'rtl',
},
},
},
},
},