vkurko/calendar

No cut events | Fix height with content & duration

Closed this issue · 4 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

vkurko commented

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?

vkurko commented

Please check slotDuration and slotLabelFormat options.

I hadn't noticed that.
Thanks :)