打开fullcalendar.css或(... min.css),搜索类.fc-event
并将此行添加到您的类中:
height:60px !important;
Set eventRender
callbacks and change the CSS style like this:
eventRender: function(event, element) {
element.css("font-size", "1.2em");
element.css("padding", "5px");
}
您也可以尝试使用scheduleEventMinHeight选项: https ://fullcalendar.io/docs/agendaEventMinHeight
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.