CSS fixes for Firefox

This commit is contained in:
Joseph Schorr 2014-01-06 17:15:46 -05:00
parent d52d913276
commit e011fc6fe5
3 changed files with 35 additions and 25 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 - 110) + 'px';
document.getElementById(container).style.maxHeight = (viewportHeight - boundingBox.top - 150) + 'px';
$('#' + container).overscroll();