我对试图使用完整的日历调度程序获得粘性标题感到生气。 我试过了
height: "parent"
我看到很多帖子,但没有一个有效。
但是有 2 个滚动条(一个用于主窗口,一个用于日历(。
有没有解决粘性标题的解决方案?
谢谢
最后,它与类似的东西一起工作
.fc-toolbar.fc-header-toolbar {
position: sticky;
top: 70px;
z-index: 10;
background: white
}
.fc-head-container.fc-widget-header {
position: sticky;
top: 108px;
z-index: 10;
background: white;
}
感谢您的帮助
我不明白关于完整日历调度程序的观点,如果您希望标头元素应该粘附一个,请为您的标头应用以下 css。
position: fixed; top: 0; left:0; width: 100%;
试着让我知道。
你可以使用它,这对我有用:
.fc-timeline .fc-body .fc-scroller{
height: 400px !important;
}