issue #60
All checks were successful
Test CI / build (push) Successful in 18s

- z-index 이슈 수정
This commit is contained in:
2025-12-14 02:59:10 +09:00
parent fdbfd80462
commit 64540e397e

View File

@@ -394,28 +394,6 @@ export const CustomCalendar = ({ data }: CustomCalendarProps) => {
open={popoverOpen}
onOpenChange={handleOpenChange}
>
{
barPositions.map(pos => (
<PopoverTrigger
onClick={(e) => {
e.stopPropagation();
}}
asChild
>
<div
key={pos.segmentId}
className={cn(
`flex flex-row justify-start items-center absolute`,
"py-0.5 px-2 rounded-sm text-xs text-white overflow-hidden"
)}
style={{...pos.positionStyle, backgroundColor: pos.style}}
>
{pos.name}
</div>
</PopoverTrigger>
))
}
<Calendar
mode="single"
className="h-full w-full border border-indigo-200 rounded-lg shadow-sm shadow-indigo-200"
@@ -453,7 +431,20 @@ export const CustomCalendar = ({ data }: CustomCalendarProps) => {
)
}}
/>
{
barPositions.map(pos => (
<div
key={pos.segmentId}
className={cn(
`flex flex-row justify-start items-center absolute`,
"py-0.5 px-2 rounded-sm text-xs text-white overflow-hidden"
)}
style={{...pos.positionStyle, backgroundColor: pos.style}}
>
{pos.name}
</div>
))
}
<SchedulePopover
date={selectedDate}
open={popoverOpen}