vkurko / calendar

Full-sized drag & drop JavaScript event calendar with resource & timeline views

Home Page:https://vkurko.github.io/calendar/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No cut events | Fix height with content & duration

parismst opened this issue · comments

Hello,

Thank you very much for providing us with the best calendar.
I meant to ask is it possible not to cut the event, so to get the right height of the content along with the duration?

image

Thanks

The height of each event corresponds to its duration. If you want the height to adjust to the content inside the events, then try adding the CSS rule

.ec-event {
    height: auto!important;
}

I've tried it, it doesn't work like that.
Is there a way to display every half hour on the left side of the bar instead of an hour?
Also, we have possibility to have the format 24 hours and not 12 hours?

Please check slotDuration and slotLabelFormat options.

I hadn't noticed that.
Thanks :)