fix: TimePanel not scrollable (#51481)

This commit is contained in:
二货爱吃白萝卜 2024-11-04 17:18:03 +08:00 committed by GitHub
parent eb219058c1
commit 718609102b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -570,7 +570,7 @@ export const genPanelStyle = (token: SharedPickerToken): CSSObject => {
'&::after': {
display: 'block',
height: token.calc('100%').sub(timeCellHeight).equal(),
height: `calc(100% - ${unit(timeCellHeight)})`,
content: '""',
},