Ensure that the footer appears properly on the repo pages

This commit is contained in:
Joseph Schorr 2013-11-23 20:03:08 -05:00
parent 5f9da10a36
commit 6692fdf41c
4 changed files with 14 additions and 7 deletions

View file

@ -86,7 +86,7 @@ ImageHistoryTree.prototype.updateDimensions_ = function() {
$('#' + container).removeOverscroll();
var viewportHeight = $(window).height();
var boundingBox = document.getElementById(container).getBoundingClientRect();
document.getElementById(container).style.maxHeight = (viewportHeight - boundingBox.top - 30) + 'px';
document.getElementById(container).style.maxHeight = (viewportHeight - boundingBox.top - 110) + 'px';
$('#' + container).overscroll();
// Update the tree.