0
A
回答
1
補丁是非常簡單的:
diff --git a/src/agenda/AgendaEventRenderer.js b/src/agenda/AgendaEventRenderer.js
index 9e7243b..8b0ec63 100644
--- a/src/agenda/AgendaEventRenderer.js
+++ b/src/agenda/AgendaEventRenderer.js
@@ -182,7 +182,7 @@ function AgendaEventRenderer() {
leftmost = colContentLeft(colI*dis + dit);
availWidth = colContentRight(colI*dis + dit) - leftmost;
availWidth = Math.min(availWidth-6, availWidth*.95); // TODO: move this to CSS
- if (levelI) {
+ if (true) { // PATCH : Always render indented events
// indented and thin
outerWidth = availWidth/(levelI + forward + 1);
}else{
現在看起來像這樣:
我不認爲你可以用CSS做這件事,因爲fullcalendar在事件上使用絕對定位。另外,在[事件渲染](http://arshaw.com/fullcalendar/docs/event_rendering/)文檔上快速打開後,看起來着色是唯一可以修改的東西。 – augustknight 2012-03-14 01:14:50
所以我必須修改庫本身,我想我會在修補完成後發佈修補程序。 – Dorian 2012-03-15 01:00:21