fullcalendar.io事件的设置高度

发布于 2025-02-13 22:17:17 字数 279 浏览 0 评论 0原文

我想设定我的活动的高度,以便他们填补了时间段的整个空白空间。 事件应完全占据阴影空间。一个时间插槽中总是只有一个事件。 我的资源在Y轴上,时间显示在X轴上。

我尝试了EventMinheight:25,但这仅适用于定时格言。

一个带有一个资源事件的完整性事件

有人知道如何做到这一点吗?

i want to set the height of my events, so they fill the full blank space of their time slot.
Events should completely occupy the shaded space. There is always only one event in a time slot.
My resources are on the y-axis and the time is displayed on the x-axis.

I tried eventMinHeight: 25, but this only works for TimeGrid views.

A fullcalendar with one resource event

Does anyone know how to to that?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

月隐月明月朦胧 2025-02-20 22:17:17

我需要覆盖带有方括号的内联样式,并且很重要。

.fc-event-container[style] {
   height: 59% !important;
}

.fc-event[style] {
   height: 100% !important;
}

感谢您在评论@adyson的帮助。

I needed to overwrite an inline style with square brackets and !important.

.fc-event-container[style] {
   height: 59% !important;
}

.fc-event[style] {
   height: 100% !important;
}

Thanks for your help in the comments @ADyson.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文