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

Now Indicator #221

Closed MaCleodWalker closed 5 months ago

MaCleodWalker commented 5 months ago

Is there a way to change the z index of the now indicator? it keeps being displayed over my modal even if the z-index of the modal is 99999. image

vkurko commented 5 months ago

Of course, you can simply override the CSS rule for the .ec-now-indicator class. But be careful, most likely your modal is in a different stacking context, so 99999 did not work, although the z-index of the indicator is 1005.

vkurko commented 5 months ago

I hope I can close this issue.

MaCleodWalker commented 5 months ago

Thank you, the issue was in fact the stacking context.

vkurko commented 5 months ago

Thanks for your sponsorship. It will be mentioned in the next release notes.