Using FullCalendar how can I adjust the height of the fc-event div?

前端 未结 6 1592
迷失自我
迷失自我 2021-01-14 13:40

I am using FullCalendar to display some events, but it is clipping the name of the event in week and day mode.

It appears fullcalendar is setting the height of the f

6条回答
  •  不要未来只要你来
    2021-01-14 13:52

    My solution is more of a work-around for the issue than an actual solution. When setting the events, add \r\n in the title attribute to space it out a bit more.

    I spent a bit of time going through the js file to try and adjust how the height is calculated, but due to the switching of views, it got a bit messy.

    This will increase the height of the event without messing around with the positioning/css.

提交回复
热议问题