如何在fullcalendar日视图中更改默认行高?

时间:2015-02-20 08:35:14

标签: javascript jquery css fullcalendar

如何在FullCalendar日视图(议程)中更改行元素的默认高度?需要CSS类或Javascript函数。有关详情,请参阅屏幕截图 enter image description here

enter image description here

enter image description here

enter image description here

1 个答案:

答案 0 :(得分:7)

如果要更改每个30分钟块的高度,则应使用以下CSS并根据需要调整高度。默认值为2.5em。

.fc-time-grid .fc-slats td {
    height: 2.5em;
}

看看a working jsfiddle