style(DatePicker): fix hover style error when checked again (#40785)

This commit is contained in:
JiaQi 2023-02-19 21:27:46 +08:00 committed by GitHub
parent 9b25304c29
commit e142e2436d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -206,6 +206,8 @@ const genPickerCellInnerStyle = (token: SharedPickerToken): CSSObject => {
// Hover with in range
[`&-in-view${pickerCellCls}-in-range${pickerCellCls}-range-hover::before,
&-in-view${pickerCellCls}-in-range${pickerCellCls}-range-hover-start::before,
&-in-view${pickerCellCls}-in-range${pickerCellCls}-range-hover-end::before,
&-in-view${pickerCellCls}-range-start${pickerCellCls}-range-hover::before,
&-in-view${pickerCellCls}-range-end${pickerCellCls}-range-hover::before,
&-in-view${pickerCellCls}-range-start:not(${pickerCellCls}-range-start-single)${pickerCellCls}-range-hover-start::before,