fix: DateRangePicker hover effect overflow (#27731)

* fix: DateRangePicker hover effect overflow

* fix: update rtl style
This commit is contained in:
einq7 2020-11-12 23:11:21 +08:00 committed by GitHub
parent 57246c518f
commit 652374ff4c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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;
}
}