mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-01 03:29:39 +08:00
fix: DateRangePicker hover effect overflow (#27731)
* fix: DateRangePicker hover effect overflow * fix: update rtl style
This commit is contained in:
parent
57246c518f
commit
652374ff4c
@ -302,12 +302,12 @@
|
||||
.@{picker-prefix-cls}-date-panel
|
||||
&-in-view&-in-range&-range-hover-start
|
||||
.@{cellClassName}::after {
|
||||
right: -6px - @border-width-base;
|
||||
right: -5px - @border-width-base;
|
||||
left: 0;
|
||||
}
|
||||
.@{picker-prefix-cls}-date-panel &-in-view&-in-range&-range-hover-end .@{cellClassName}::after {
|
||||
right: 0;
|
||||
left: -6px - @border-width-base;
|
||||
left: -5px - @border-width-base;
|
||||
}
|
||||
|
||||
// Hover with range start & end
|
||||
|
@ -149,13 +149,13 @@
|
||||
.@{cellClassName}::after {
|
||||
.@{picker-prefix-cls}-panel-rtl & {
|
||||
right: 0;
|
||||
left: -6px - @border-width-base;
|
||||
left: -5px - @border-width-base;
|
||||
}
|
||||
}
|
||||
|
||||
.@{picker-prefix-cls}-date-panel &-in-view&-in-range&-range-hover-end .@{cellClassName}::after {
|
||||
.@{picker-prefix-cls}-panel-rtl & {
|
||||
right: -6px - @border-width-base;
|
||||
right: -5px - @border-width-base;
|
||||
left: 0;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user