我刚刚将项目中的 fullcalendar 从 1.5.2 升级到 2.1.0-beta2。从那时起,由于此处引入了新的 CSS 样式,我的活动标题被切入第一行(溢出隐藏):
https://github.com/arshaw/fullcalendar/commit/afe97d112a63c64f5e46a6ebfed144ccbf7a0a28 https://github.com/arshaw/fullcalendar/commit/afe97d112a63c64f5e46a6ebfed144ccbf7a0a28
.fc-day-grid-event > .fc-content { /* force events to be one-line tall */
white-space: nowrap;
事件被迫为一行高有什么原因吗?如果我不想要这个,可以直接覆盖这个样式吗?或者这会在某个地方导致不可预测的行为吗?
我在文档中找不到任何内容,也无法使用谷歌。
From https://code.google.com/p/fullcalendar/issues/detail?id=1992 https://code.google.com/p/fullcalendar/issues/detail?id=1992
这是禁用单行标题的方法
.fc-day-grid-event > .fc-content {
white-space: normal;
}
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)