mirror of
https://github.com/ant-design/ant-design.git
synced 2026-02-09 02:49:18 +08:00
fix(DatePicker): borderRadiusSM and borderRadiusLG token do not work (#56018)
Co-authored-by: liuqiang <qiang.liu@xinjifamily.com>
This commit is contained in:
@@ -157,6 +157,7 @@ const genPickerStyle: GenerateStyle<PickerToken> = (token) => {
|
||||
// Size
|
||||
'&-large': {
|
||||
...genPickerPadding(token.paddingBlockLG, token.paddingInlineLG),
|
||||
borderRadius: token.borderRadiusLG,
|
||||
[`${componentCls}-input > input`]: {
|
||||
fontSize: inputFontSizeLG ?? fontSizeLG,
|
||||
lineHeight: lineHeightLG,
|
||||
@@ -165,6 +166,7 @@ const genPickerStyle: GenerateStyle<PickerToken> = (token) => {
|
||||
|
||||
'&-small': {
|
||||
...genPickerPadding(token.paddingBlockSM, token.paddingInlineSM),
|
||||
borderRadius: token.borderRadiusSM,
|
||||
[`${componentCls}-input > input`]: {
|
||||
fontSize: inputFontSizeSM ?? fontSizeSM,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user