fix: RangePicker time column sometime not scroll (#47542)

* fix: style fixing of time scroll

* chore: bump rc-picker
This commit is contained in:
二货爱吃白萝卜 2024-02-23 11:32:04 +08:00 committed by GitHub
parent dccdb377b0
commit 08d432fa41
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -571,7 +571,7 @@ export const genPanelStyle = (token: SharedPickerToken): CSSObject => {
'&::after': {
display: 'block',
height: token.calc(timeColumnHeight).sub(timeCellHeight).equal(),
height: token.calc('100%').sub(timeCellHeight).equal(),
content: '""',
},
@ -629,14 +629,6 @@ export const genPanelStyle = (token: SharedPickerToken): CSSObject => {
},
},
},
// https://github.com/ant-design/ant-design/issues/39227
[`&-datetime-panel ${componentCls}-time-panel-column:after`]: {
height: token
.calc(timeColumnHeight)
.sub(timeCellHeight)
.add(token.calc(paddingXXS).mul(2))
.equal(),
},
},
};
};