Skip to content

Commit

Permalink
fix(VDatePicker): pass prop width if available
Browse files Browse the repository at this point in the history
fixes #18674
  • Loading branch information
johnleider committed Nov 13, 2023
1 parent d6646b4 commit fad105e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ export const VDatePicker = genericComponent<new <T, Multiple extends boolean = f
props.class,
]}
style={ props.style }
width={ props.showWeek ? 408 : 360 }
width={ props.width ?? (props.showWeek ? 408 : 360) }
v-slots={{
title: () => slots.title?.() ?? (
<div class="v-date-picker__title">
Expand Down

0 comments on commit fad105e

Please sign in to comment.