使用FullCalendar如何调整fc-event div的高度?

The*_*zle 3 fullcalendar

我正在使用FullCalendar来显示一些事件,但它在周和日模式下剪切事件的名称.

似乎fullcalendar将fc-event div的高度设置为12px,但我需要它为20px:

<div class="fc-event fc-event-skin fc-event-vert fc-corner-top fc-corner-bottom" 
style="position: absolute; z-index: 8; top: 314px; left: 441px; 
background-color: green; color: white; 
width: 112.94999999999999px; height: 12px;  ">
Run Code Online (Sandbox Code Playgroud)

是否可以设置fc-event div的高度?

Dav*_*rko 5

例如

.fc-event {height:2em; }


小智 5

我只是想通了.只需将重要规则放在fullcalendar.css中即可

身高:50px!重要;

干杯!