danheron / Heron.MudCalendar

Calendar component for MudBlazor
MIT License
174 stars 33 forks source link

Grow the Day cell in the month view #135

Closed benaminc closed 5 months ago

benaminc commented 5 months ago

Is there a way to have the Day cell grow in the month view when there are many items so that it will display them all instead of the scroll bar?

danheron commented 5 months ago

Yes, you can use the MonthCellMinHeight property.

By default the calendar is a fixed height and you will see the scroll bars. If you set the MonthCellMinHeight property then the calendar will use this value as the height of each cell, but will expand the height of the cell as necessary.

The 'Height' example in the documents shows this working.

benaminc commented 5 months ago

Great, thank you! I originally missed the height part when going over the docs. I have this working now, however I do still see scroll bars on every single cell. I ended up overriding some CSS and have it working the way I want it now.