diff --git a/public/css/report_list.css b/public/css/report_list.css index 6b6e97c2..383815a9 100644 --- a/public/css/report_list.css +++ b/public/css/report_list.css @@ -20,8 +20,8 @@ #table_of_contents .directory .directory { background: url("../images/list_image.png") no-repeat top left; } -#report_list h1 { - +#report_list { + height: auto; } #report_list h2 { font-size: 1.3em; diff --git a/public/js/report_list.js b/public/js/report_list.js index e2012dec..9cf3f10b 100644 --- a/public/js/report_list.js +++ b/public/js/report_list.js @@ -84,8 +84,9 @@ $(document).ready(function() { //there is a bug with webkit where the page isn't redrawn //when changing the innerhtml var refresh_report_list = function() { - var height = $('#report_list').height('height').height(); - $('#report_list').height(height+1); + $('#report_list').css('display','inline-block'); + $('#report_list').offset(); + $('#report_list').css('display','block'); }; //make the search bar fixed when scolling down through reports