mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-07 09:26:06 +08:00
fix: RangePicker time column sometime not scroll (#47542)
* fix: style fixing of time scroll * chore: bump rc-picker
This commit is contained in:
parent
dccdb377b0
commit
08d432fa41
@ -571,7 +571,7 @@ export const genPanelStyle = (token: SharedPickerToken): CSSObject => {
|
|||||||
|
|
||||||
'&::after': {
|
'&::after': {
|
||||||
display: 'block',
|
display: 'block',
|
||||||
height: token.calc(timeColumnHeight).sub(timeCellHeight).equal(),
|
height: token.calc('100%').sub(timeCellHeight).equal(),
|
||||||
content: '""',
|
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(),
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user