Revert "feat: DatePicker zIndex props 다시 적용"

This reverts commit 4224375b3a.
This commit is contained in:
swcho
2025-07-09 15:29:36 +09:00
parent 90fda952ad
commit 17f6e640a6
@@ -40,8 +40,10 @@ export function DatePicker({
</Button>
</PopoverTrigger>
<PopoverContent
className="w-auto p-0"
style={{ zIndex: zIndex || 'auto' }}
className={cn(
"w-auto p-0",
zIndex ? `z-[${zIndex}]` : "" // zIndex가 있으면 적용, 없으면 기본값
)}
>
<Calendar classNames={{ cell: "rounded-md" }} {...props} />
</PopoverContent>