Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Multiline titles in fullcalendar 2.1.0-beta1/2 in day grid

Tags:

fullcalendar

I just upgraded fullcalendar in my project from 1.5.2 to 2.1.0-beta2. Since then my event titles are cut in the first line (overflow hidden) because of a new CSS style introduced here:

https://github.com/arshaw/fullcalendar/commit/afe97d112a63c64f5e46a6ebfed144ccbf7a0a28

.fc-day-grid-event > .fc-content { /* force events to be one-line tall */ white-space: nowrap;

Is there any reason why events are forced to be one line tall? If I don't want this, is it ok to just overwrite this style or will this lead to unpredictable behavior somewhere? I couldn't find anything in the documentation nor using google.

like image 584
chmielot Avatar asked Aug 12 '14 19:08

chmielot


1 Answers

From https://code.google.com/p/fullcalendar/issues/detail?id=1992

This is how to disable single line titles

.fc-day-grid-event > .fc-content {
    white-space: normal;
}
like image 119
anu Avatar answered Oct 07 '22 01:10

anu