Browse Source

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

pull/40803/head
JiaQi 2 years ago
committed by GitHub
parent
commit
e142e2436d
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      components/date-picker/style/index.ts

2
components/date-picker/style/index.ts

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

Loading…
Cancel
Save