使用FullCalendar如何调整fc-event div的高度? [英] Using FullCalendar how can I adjust the height of the fc-event div?

查看:761
本文介绍了使用FullCalendar如何调整fc-event div的高度?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用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;>

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

解决方案

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


height:50px!important;


干杯!

I am using FullCalendar to display some events, but it is clipping the name of the event in week and day mode.

It appears fullcalendar is setting the height of the fc-event div to 12px, but I need it to be 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;  ">

Is it possible to set the height of the fc-event div?

解决方案

I simply figured it out. Just put the important rule in fullcalendar.css

height: 50px !important;

Cheers!

这篇关于使用FullCalendar如何调整fc-event div的高度?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆