gpt4 book ai didi

fullcalendar - 天网格中全日历2.1.0-beta1/2中的多行标题

转载 作者:行者123 更新时间:2023-12-04 10:04:04 25 4
gpt4 key购买 nike

我刚刚将我的项目中的全日历从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;

有什么理由使事件被迫高一线?如果我不希望这样做,可以覆盖这种样式吗?还是会导致某些地方发生不可预测的行为?
我在文档中也找不到任何内容,也没有使用Google。

最佳答案

https://code.google.com/p/fullcalendar/issues/detail?id=1992

这是禁用单行标题的方法

.fc-day-grid-event > .fc-content {
white-space: normal;
}

关于fullcalendar - 天网格中全日历2.1.0-beta1/2中的多行标题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25272132/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com