我刚刚将我的项目中的fullcalendar从1.5.2升级到2.1.0-beta2.从那时起,我的事件标题被剪切在第一行(溢出隐藏),因为这里引入了一个新的CSS样式:
https://github.com/arshaw/fullcalendar/commit/afe97d112a63c64f5e46a6ebfed144ccbf7a0a28
.fc-day-grid-event > .fc-content { /* force events to be one-line tall */
white-space: nowrap;
有什么理由说事件被迫一线高吗?如果我不想要这个,是否可以覆盖这种风格,或者这会导致某些地方出现不可预测的行为?我在文档中找不到任何内容,也没有使用谷歌.
anu*_*anu 16
来自https://code.google.com/p/fullcalendar/issues/detail?id=1992
这是如何禁用单行标题
.fc-day-grid-event > .fc-content {
white-space: normal;
}
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
4449 次 |
| 最近记录: |