mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-11 19:42:54 +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 {
|
&-disabled-cell &-date {
|
||||||
|
position: relative;
|
||||||
width: auto;
|
width: auto;
|
||||||
color: @disabled-color;
|
color: @disabled-color;
|
||||||
background: @disabled-bg;
|
background: @disabled-bg;
|
||||||
@ -241,6 +242,18 @@
|
|||||||
background: @disabled-bg;
|
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 {
|
&-disabled-cell&-today &-date {
|
||||||
position: relative;
|
position: relative;
|
||||||
padding-right: 5px;
|
padding-right: 5px;
|
||||||
|
Loading…
Reference in New Issue
Block a user