From: Jan Schneider Date: Tue, 7 Apr 2009 17:05:30 +0000 (+0200) Subject: Avoid overflowing the all-day cells. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=04511577f393b9165e8e0399f8c5d26fa392b71c;p=horde.git Avoid overflowing the all-day cells. --- 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 {