jquery – FullCalendar V2事件标题在月视图中切断

升级到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 to tables. 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.

据我所知,你可能会看到这是解决这个问题的唯一方法.

相关文章

页面搜索关键词突出 // 页面搜索关键词突出 $(function () {...
jQuery实时显示日期、时间 html: <span id=&quot...
jQuery 添加水印 <script src="../../../.....
中文:Sys.WebForms.PageRequestManagerParserErrorExceptio...
1. 用Response.Write方法 代码如下: Response.Write(&q...
Jquery实现按钮点击遮罩加载,处理完后恢复 思路: 1.点击按...