Skip to content

Commit 49033fe

Browse files
committed
fix: --dp-menu-min-width not propagated to month-picker mode (fixes #954)
1 parent 6ac54ff commit 49033fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/VueDatePicker/components/Common/SelectionOverlay.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@
174174
);
175175
176176
const dpOverlayStyle = computed(() =>
177-
props.useRelative ? { height: `${props.height}px`, width: `${260}px` } : undefined,
177+
props.useRelative ? { height: `${props.height}px`, width: `var(--dp-menu-min-width)` } : undefined,
178178
);
179179
180180
const cellClassName = computed(() => ({

0 commit comments

Comments
 (0)