diff --git a/Web/scripts/schedule.js b/Web/scripts/schedule.js index efd1eba79..12a31e490 100644 --- a/Web/scripts/schedule.js +++ b/Web/scripts/schedule.js @@ -194,6 +194,11 @@ function Schedule(opts, resourceGroups) { if (opts.scheduleStyle === ScheduleTall) { width = startTd.outerWidth() - cellAdjustment; height = endTd.position().top - startTd.position().top; + if (calculatedAdjustment > 0 && height > 0) { + // findClosestEnd was used: endTd is the last slot STARTING before resEnd, + // but height must extend through to the bottom of that slot row + height += endTd.outerHeight(); + } top = startTd.position().top; left += cellAdjustment; }