vkurko / calendar

Full-sized drag & drop JavaScript event calendar with resource & timeline views
https://vkurko.github.io/calendar/
MIT License
964 stars 82 forks source link

Is there a way to set the z index per event? #239

Closed MaCleodWalker closed 4 months ago

MaCleodWalker commented 4 months ago

Im using eventClassNames and TailwindCSS to set some custom classes for events. Im trying to use the tailwind classes 'z-10 hover:z-50 hover:min-w-min' to show all the event content when hovered but it seems like the resources are stacked left to right. image

vkurko commented 4 months ago

On the demo I added a CSS rule min-width: min-content; for the blue event and it seemed to work.

image

Can you provide an online demo of the problem so I can check?

MaCleodWalker commented 4 months ago

I'm not sure what was causing the issue but when i started my dev server today the issue was no longer present.

Thank you for all your work.