This commit is contained in:
Timothy Jaeryang Baek committed 2026-12-05 07:40:44 +04:00
1 parent 47952d4aa2
commit d172d26647
1 file changed
+2 -1
+2 -1
View File
@@ -35,7 +35,8 @@
>
{value ? dayjs(value).locale($i18n.language).format('ll') : placeholder}
</button>
<DropdownMenu slot="content" className="w-60">
<!-- Just wide enough for the month: seven 1.75rem days, the picker's and menu's padding, the border. -->
<DropdownMenu slot="content" className="w-[calc(7*1.75rem_+_1rem_+_2px)]">
<DatePicker {value} {min} onSelect={pick} />
</DropdownMenu>
</Dropdown>