1

我正在尝试设置 fullcalendar jquery 插件的样式,并对其进行大部分设置,但有一个问题。我想在单元格之间设置间距(即可以看到表格后面的背景),我可以通过覆盖 css 边框间距属性来做到这一点,但是当我这样做时,fullcalendar 的宽度计算会被抛弃,而我的远右栏(月视图中的“星期六”)缩小。有没有办法告诉 fullcalendar 我正在使用间距,或者其他方式来计算它?谢谢,亚历克斯

4

2 回答 2

1

您可以将此添加到问题跟踪器吗? http://code.google.com/p/fullcalendar/issues/list

谢谢!

于 2011-02-14T04:21:46.357 回答
0

I was having the same issue that you are facing. As opposed to digging through the .js i just 'fixed' this with css by adding width to the fc-sat column with addclass, matching the width of the other columns of the desired #calendar width.

$(function () {
    $('.fc-sat').addClass('adjustit');
});

With these classes in my css

<style>
#calendar{width:780px;}
.adjustit{width:103px !important;}
</style>

Hope this helps.

于 2013-01-11T10:49:38.877 回答