OiO.lk Blog CSS Fit calendar to height of parent without scollbar
CSS

Fit calendar to height of parent without scollbar


I’ve been trying to use FullCalendar in my application, but there’s one thing I just can’t get working. A minimal example of what I’m trying to achieve is available here.

The example application consists of two parts:

  1. A toolbar
  2. The calendar, which should take up the remaining space on the screen, without needing to scroll

I have set the height of the calendar to take up the height of the parent and expandRows to true, which works great for the monthly view (all screen sizes) and the monthly view on larger screens. However, on my laptop for example, a scrollbar appears inside the calendar.

Is there any way to have the entire calendar show up on any screen, like the opposite of expandRows? I’ve searched the documentation and so far, I haven’t found anything.



You need to sign in to view this answers

Exit mobile version