Correct the displayed calendar height

This commit is contained in:
Alex Tselegidis 2023-07-11 08:02:56 +02:00
parent ae26a5f397
commit 07ff42c1a4

View file

@ -337,7 +337,7 @@ App.Utils.CalendarDefaultView = (function () {
function getCalendarHeight() {
const result =
window.innerHeight - $footer.outerHeight() - $header.outerHeight() - $calendarToolbar.outerHeight() - 60; // 60 for fine tuning
return result > 800 ? result : 800; // Minimum height is 800px
return result > 780 ? result : 780; // Minimum height is 800px
}
/**