Thanks for the question. In the case of custom templates your css rule should target the .mbsc-calendar-text class, because the eventcalendar will get the height of the events from that element. It might happen, that the element has no other classes at all. So for example:
Iβm just jumping in to help you with your question!
Yes, you are right. The label height should be fixed when the calendar renders, because the calendar uses the label height for internal layout calculations like how many visible label rows will be present.
I have some great news for you! We have just shipped Mobiscroll 5.30 which introduces the long-awaited feature for displaying events with variable heights on the Timeline.
β
This is useful when the content of the events varies, for example, rendering lists with various lengths or supporting multiple event types with different content templates. If you want to keep all content visible, regardless of the event length (width), the height will dynamically change when resized and not truncate depending on the available space.
We launched it as an experimental feature and can be enabled by setting the eventHeight: 'variable' property for the timeline inside the viewoption. It is experimental since the underlying rendering logic changed a bit, so we are looking for feedback.