Skip to content

Commit 5373001

Browse files
committed
fix: Wrong borders when hovering weeks in between on ranged week-picker (fixes #807)
1 parent 3d88f34 commit 5373001

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

src/VueDatePicker/style/components/_Calendar.scss

+8-4
Original file line numberDiff line numberDiff line change
@@ -158,15 +158,19 @@
158158

159159
.dp__cell_auto_range_start {
160160
@extend %__dp_range_border_radius_start;
161-
@extend %__dp_range_preview;
162-
161+
border-start-start-radius: var(--dp-border-radius);
162+
border-end-start-radius: var(--dp-border-radius);
163163
border-inline-start: 1px dashed var(--dp-primary-color);
164+
border-top: 1px dashed var(--dp-primary-color);
165+
border-bottom: 1px dashed var(--dp-primary-color);
164166
}
165167

166168
.dp__cell_auto_range_end {
167169
@extend %__dp_range_border_radius_end;
168-
@extend %__dp_range_preview;
169-
170+
border-start-end-radius: var(--dp-border-radius);
171+
border-end-end-radius: var(--dp-border-radius);
172+
border-top: 1px dashed var(--dp-primary-color);
173+
border-bottom: 1px dashed var(--dp-primary-color);
170174
border-inline-end: 1px dashed var(--dp-primary-color);
171175
}
172176

0 commit comments

Comments
 (0)