升级到V2的
jquery fullcalendar之后,我注意到具有长标题的事件已被标题截断.
我通过添加CSS来解决这个问题,但现在又出现了一个问题,一个长标题的事件似乎扩展了整个行,导致在相邻的日子中出现一个空格,这些空格具有短标题的事件.
添加了CSS
.fc-day-grid-event > .fc-content { white-space: inherit; }
见:http://jsfiddle.net/uawsdebv/10/
十一月十二日的这两场活动,是由十一月十二号长时间的事件造成的.
我很失落 – 任何人都可以帮忙吗?
解决方法
基于jQuery Calendar的结构,实际上没有办法实现你想要的.这是因为事件在表行中.正如您对问题的第一条评论所述:
Between the V2.0.0 (I’m using this one) and the V2.2.6 (the one you’re using) the construction of the agenda moved from
divs
totables
. If you downgrade your CSS and JS to the V2.0.0,you’ll see that your problem disappears: jsfiddle.net/uawsdebv/12 I reckon this is more a work around than an answer. It may be possible to modify the css concerning the tag but I am not advanced enough in CSS to know what could be a solution.