如何在FullCalendar中编辑事件的宽度? [英] How to edit width of event in FullCalendar?

查看:301
本文介绍了如何在FullCalendar中编辑事件的宽度?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这看起来非常简单,但我花了半天的时间把我的头撞到墙上,试图弄清楚为什么我的fullcalendar事件只显示在77像素处,当单元格的宽度(月视图)好像是90像素或更高。我曾尝试修改fc事件css规则,但似乎JavaScript正在将一些内联样式写入日历中,以覆盖这些样式。



我似乎无法找出这些款式写入的地方!



任何定制fullcalendar的人都可以提供一些见解吗?它在wordpress博客上作为页面运行,并不确定这与它有什么关系,因为我注意到其中一个按钮在一个尴尬的位置被切断。

解决方案

有些wordpress主题风格与fullcalendar不兼容。我使用Wordpress 3.0,使用风格二十十。而不是将它插入内容div,我将它插入到它的父容器div中,然后这些样式修复它们。


This seems incredibly easy, but I have spent half a day bashing my head against the wall trying to figure out why my fullcalendar events are showing only at 77px, when the width of the cell(month view) seems to be either 90px or higher. I have tried modifying the fc-event css rule, but it seems like javascript is writing some inline styles into the calendar, overwriting these styles.

I can't seem to find out where these styles are getting written!

Can anyone who has customized fullcalendar give some insight? It is running as a page on a wordpress blog, not sure if this has anything to do with it, as I noticed that one of the buttons is lopped off at an awkward position.

解决方案

Some wordpress theme style does not play nice with fullcalendar. I am using Wordpress 3.0, using the style Twenty Ten. Instead of inserting it inside the content div, I inserted it in its parent, the container div, and then the styles fix themselves.

这篇关于如何在FullCalendar中编辑事件的宽度?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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