From 9a3912e6160ba0bdebb0486f36c70c02e44b03f6 Mon Sep 17 00:00:00 2001 From: Keren Chandran Date: Sat, 26 Mar 2016 21:05:50 -0400 Subject: [PATCH] Fixed Month and Week Rendering Bug --- src/utils/eventLevels.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/eventLevels.js b/src/utils/eventLevels.js index 3deac4858..bd0a64773 100644 --- a/src/utils/eventLevels.js +++ b/src/utils/eventLevels.js @@ -8,7 +8,7 @@ export function eventSegments(event, first, last, { startAccessor, endAccessor, let span = dates.diff(start, end, 'day'); - span = Math.floor(Math.max(Math.min(span, slots), 1)); + span = Math.floor(Math.max(span, 1)); let padding = Math.floor(dates.diff(first, start, 'day'));