forked from mirrors/easyappointments
Correct the displayed calendar height
This commit is contained in:
parent
ae26a5f397
commit
07ff42c1a4
1 changed files with 1 additions and 1 deletions
|
@ -337,7 +337,7 @@ App.Utils.CalendarDefaultView = (function () {
|
||||||
function getCalendarHeight() {
|
function getCalendarHeight() {
|
||||||
const result =
|
const result =
|
||||||
window.innerHeight - $footer.outerHeight() - $header.outerHeight() - $calendarToolbar.outerHeight() - 60; // 60 for fine tuning
|
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
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue