From 04511577f393b9165e8e0399f8c5d26fa392b71c Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Tue, 7 Apr 2009 19:05:30 +0200 Subject: [PATCH] Avoid overflowing the all-day cells. --- kronolith/js/src/kronolith.js | 2 +- kronolith/templates/index/week.inc | 28 ++++++++++++++-------------- kronolith/themes/screen.css | 4 ++++ 3 files changed, 19 insertions(+), 15 deletions(-) diff --git a/kronolith/js/src/kronolith.js b/kronolith/js/src/kronolith.js index 8bfd45118..d46867609 100644 --- a/kronolith/js/src/kronolith.js +++ b/kronolith/js/src/kronolith.js @@ -364,7 +364,7 @@ KronolithCore = { day = dates[0].clone(); for (var i = 0; i < 7; i++) { div.writeAttribute('id', 'kronolithEventsWeek' + day.dateString()); - td.writeAttribute('id', 'kronolithAllDay' + day.dateString()); + td.down('div').writeAttribute('id', 'kronolithAllDay' + day.dateString()); div = div.next('div'); td = td.next('td'); day.next().day(); diff --git a/kronolith/templates/index/week.inc b/kronolith/templates/index/week.inc index 0526dbf1f..c0d0c508b 100644 --- a/kronolith/templates/index/week.inc +++ b/kronolith/templates/index/week.inc @@ -18,27 +18,27 @@ - +
- - +
+
- - +
+
- - +
+
- - +
+
- - +
+
- - +
+
- +
diff --git a/kronolith/themes/screen.css b/kronolith/themes/screen.css index 8c96ea3c8..c15b8031d 100644 --- a/kronolith/themes/screen.css +++ b/kronolith/themes/screen.css @@ -887,6 +887,10 @@ table.kronolithView td { table.kronolithView td.kronolithFirstCol { width: 20px; } +.kronolithAllDayContainer { + height: 100%; + overflow: hidden; +} /* Main view header row */ div.kronolithView div.kronolithViewHead div.kronolithRow { -- 2.11.0