Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

fullcalendar fixed height of row

Tags:

fullcalendar

How do I set fixed height of row in fullcalendar? I want to have vertical scrollbar, if there are too many events.

$('#calendar').fullCalendar('option', 'contentHeight', 50);
like image 494
gormit Avatar asked Jan 09 '13 13:01

gormit


2 Answers

for me only this worked

.fc-agendaWeek-view tr {
    height: 40px;
}

.fc-agendaDay-view tr {
    height: 40px;
}
like image 147
Jaxx0rr Avatar answered Oct 20 '22 09:10

Jaxx0rr


If you want to change the height of each time slot rows, you can override the css class.

.fc-agenda-slots td div {
     height: 40px !important;
}

If you mean something else, please let us know.

The contentHeight is used to calculate only the calendar's height.

like image 11
Pitchai P Avatar answered Oct 20 '22 10:10

Pitchai P