简体   繁体   English

如何在 Fullcalendar 的月视图中更改一天的高度?

[英]How do i change the height of the day in the month view of Fullcalendar?

I have been looking for a solution to the below problem.我一直在寻找解决以下问题的方法。 When i add events to my fullcalendar the days (in month view) are stretched vertically.当我将事件添加到我的全日历时,天数(在月视图中)被垂直拉伸。 The event is causing the day height to be adjusted.该事件导致调整白天的高度。 Does anybody know how to fix this?有谁知道如何解决这个问题?

My calendar我的日历

If you notice on march 3rd the events at 1pm and 3:30pm.如果您在 3 月 3 日注意到下午 1 点和 3 点 30 分的活动。 I would like my calendar events to be closer so the entire calendar is visible like this:我希望我的日历活动更接近,这样整个日历都可以这样显示:

Fullcalendar image from the fullcalendar website来自 fullcalendar 网站的 Fullcalendar 图片

您必须插入此道具:“dayMaxEventRows:true”并为每个视图添加特定选项,文档

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM