fix calendar background
This commit is contained in:
parent
19cb033bdc
commit
2928058f87
1 changed files with 3 additions and 1 deletions
|
@ -878,7 +878,8 @@ Ox.Calendar = function(options, self) {
|
|||
self.lineEvents[line].push(event);
|
||||
});
|
||||
self.contentHeight = Math.max(
|
||||
self.lineEvents.length * 16, self.$container.height()
|
||||
self.lineEvents.length * 16,
|
||||
self.options.height - 72 // 24 + 16 + 16 + 16
|
||||
);
|
||||
self.$content.css({height: self.contentHeight + 'px'});
|
||||
}
|
||||
|
@ -1049,6 +1050,7 @@ Ox.Calendar = function(options, self) {
|
|||
|
||||
that.resizeCalendar = function() {
|
||||
self.options.width = that.width();
|
||||
self.options.height = that.height();
|
||||
self.$zoomInput.options({size: self.options.width});
|
||||
getLines();
|
||||
renderCalendar();
|
||||
|
|
Loading…
Reference in a new issue