Properly resize note list

This commit is contained in:
Joey Payne 2016-03-11 15:25:43 -07:00
commit 0d62d7b979

View file

@ -25,10 +25,17 @@
function resize()
{
var heights = window.innerHeight;
$("#main").height(heights+"px");
var h = $('#main-nav').outerHeight(true);
var subheaderHeight = $('#nblist > div:first-child').outerHeight(true);
$('#notebook-list').height(heights-h-subheaderHeight);
var searchBarHeight = $('#entry-search-bar').outerHeight(true);
$('#entry-list').height(heights-searchBarHeight);
}
resize();
$(window).resize(function() {