Showing
1 changed file
with
2 additions
and
1 deletions
@@ -29,7 +29,8 @@ class GradeDetailPage extends Page { | @@ -29,7 +29,8 @@ class GradeDetailPage extends Page { | ||
29 | let boxEntryMargin = $('.box-entry').outerWidth(true) - $('.box-entry').outerWidth(); | 29 | let boxEntryMargin = $('.box-entry').outerWidth(true) - $('.box-entry').outerWidth(); |
30 | let gradeBillTitleMargin = $('.grade-bill-title').outerWidth(true) - $('.grade-bill-title').outerWidth(); | 30 | let gradeBillTitleMargin = $('.grade-bill-title').outerWidth(true) - $('.grade-bill-title').outerWidth(); |
31 | let gradeBillBoxMargin = $('.grade-bill-box').outerWidth(true) - $('.grade-bill-box').outerWidth(); | 31 | let gradeBillBoxMargin = $('.grade-bill-box').outerWidth(true) - $('.grade-bill-box').outerWidth(); |
32 | - let height = $(window).height() - $('.user-defined-header').height() - | 32 | + let height = (window.screen.availHeight || window.innerHeight) - |
33 | + $('.user-defined-header').height() - | ||
33 | this.view.gradeGraph.height() - $('.box-entry').height() / 2 - | 34 | this.view.gradeGraph.height() - $('.box-entry').height() / 2 - |
34 | boxEntryMargin; | 35 | boxEntryMargin; |
35 | let listHeight = height - $('.grade-bill-title').height() - $('.grade-level').height() - | 36 | let listHeight = height - $('.grade-bill-title').height() - $('.grade-level').height() - |
-
Please register or login to post a comment