diff --git a/source/Ox.UI/js/Calendar/Ox.Calendar.js b/source/Ox.UI/js/Calendar/Ox.Calendar.js index 35861619..669cf5d2 100644 --- a/source/Ox.UI/js/Calendar/Ox.Calendar.js +++ b/source/Ox.UI/js/Calendar/Ox.Calendar.js @@ -865,7 +865,7 @@ Ox.Calendar = function(options, self) { lineEvents[line].push(event); }); self.$content.find('.OxLine').remove(); - height = lineEvents.length * 16; + height = Math.max(lineEvents.length * 16, self.$container.height()); self.$background.$element.children().css({height: height + 'px'}); self.$content.css({height: height + 'px'}); lineEvents.forEach(function(events, line) {