Browse Source

🐛 Fix disabled and selected date cell style of DatePicker (#15608)

close #15580
pull/15612/head
偏右 6 years ago
committed by GitHub
parent
commit
f3a07ac7ad
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 13
      components/date-picker/style/Calendar.less

13
components/date-picker/style/Calendar.less

@ -230,6 +230,7 @@
}
&-disabled-cell &-date {
position: relative;
width: auto;
color: @disabled-color;
background: @disabled-bg;
@ -241,6 +242,18 @@
background: @disabled-bg;
}
}
&-disabled-cell&-selected-day &-date::before {
position: absolute;
top: -1px;
left: 5px;
width: 24px;
height: 24px;
background: rgba(0, 0, 0, 0.1);
border-radius: @border-radius-sm;
content: '';
}
&-disabled-cell&-today &-date {
position: relative;
padding-right: 5px;

Loading…
Cancel
Save