mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-07 09:26:06 +08:00
🐛 Fix disabled and selected date cell style of DatePicker (#15608)
close #15580
This commit is contained in:
parent
baa5a7971f
commit
f3a07ac7ad
@ -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…
Reference in New Issue
Block a user