| Issue 252: | Bug on clickable area of AllDay events | |
| Back to list |
I noticed that while the clickable link area of a Timed event covers all the event div, an AllDay event is clicable only on it's title. If the AllDay event title is really short it's hard to click on it ;)
Dec 22, 2009
Project Member
#1
adamrs...@gmail.com
Dec 22, 2009
Sorry, it was my bad!
I used this custom trigger to change events colors moving them from AllDay to Timed
eventRender: function(calEvent, element) {
if (calEvent.allDay) {
element.removeClass('fc-event');
element.addClass('todo');
} else {
element.removeClass('todo');
element.addClass('fc-event');
}
}
Here are my CSS
.fc-event,
.fc-agenda .fc-event-time,
.fc-event a {
text-decoration: none;
border-style: solid;
border-color: #36c; /* default BORDER color (probably the same as
background-color) */
background-color: #36c; /* default BACKGROUND color */
color: #fff; /* default TEXT color */
}
.todo,
.fc-agenda .todo .fc-event-time,
.todo a {
text-decoration: none;
padding-left: 1px;
border-color: red; /* default BORDER color (probably the same as
background-color) */
background-color: red; /* default BACKGROUND color */
color: #fff; /* default TEXT color */
}
removing the "fc-event" class caused my problem, I removed the line
element.removeClass('fc-event'); and now it works ;)
Dec 30, 2009
ok good. yeah, the event relies pretty heavily on that fc-event class being there. glad you figured it out.
Status:
Done
|
|
| ► Sign in to add a comment |