diff --git a/src/agenda.js b/src/agenda.js index 04962a9..8310393 100644 --- a/src/agenda.js +++ b/src/agenda.js @@ -295,6 +295,12 @@ function Agenda(element, options, methods, viewName) { height: height }); + // if the table ends up shorter than the allotted view, shrink the view to fit the table + var tableHeight=body.find('table:first').height(); + if (tableHeight