Skip to content

Commit 1d62a8d

Browse files
committed
fix: --dp-border-radius applied to calendar cells instead of --dp-cell-border-radius (fixes #827)
1 parent 83d2cc8 commit 1d62a8d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/VueDatePicker/style/components/_Calendar.scss

+4-4
Original file line numberDiff line numberDiff line change
@@ -158,17 +158,17 @@
158158

159159
.dp__cell_auto_range_start {
160160
@extend %__dp_range_border_radius_start;
161-
border-start-start-radius: var(--dp-border-radius);
162-
border-end-start-radius: var(--dp-border-radius);
161+
border-start-start-radius: var(--dp-cell-border-radius);
162+
border-end-start-radius: var(--dp-cell-border-radius);
163163
border-inline-start: 1px dashed var(--dp-primary-color);
164164
border-top: 1px dashed var(--dp-primary-color);
165165
border-bottom: 1px dashed var(--dp-primary-color);
166166
}
167167

168168
.dp__cell_auto_range_end {
169169
@extend %__dp_range_border_radius_end;
170-
border-start-end-radius: var(--dp-border-radius);
171-
border-end-end-radius: var(--dp-border-radius);
170+
border-start-end-radius: var(--dp-cell-border-radius);
171+
border-end-end-radius: var(--dp-cell-border-radius);
172172
border-top: 1px dashed var(--dp-primary-color);
173173
border-bottom: 1px dashed var(--dp-primary-color);
174174
border-inline-end: 1px dashed var(--dp-primary-color);

0 commit comments

Comments
 (0)