diff --git a/awx/ui/static/js/controllers/Jobs.js b/awx/ui/static/js/controllers/Jobs.js index b59990d4aa..0dc3a99914 100644 --- a/awx/ui/static/js/controllers/Jobs.js +++ b/awx/ui/static/js/controllers/Jobs.js @@ -237,12 +237,12 @@ function JobsListController ($scope, $compile, $routeParams, ClearScope, Breadcr // Set the height of each container and calc max number of rows containers can hold function setHeight() { var docw = $(window).width(), - doch = $(window).height(), + //doch = $(window).height(), available_height, search_row, page_row, height, header, row_height; - if (docw > 1240 && doch > 800) { + if (docw > 1000) { // customize the container height and # of rows based on available viewport height - available_height = $(window).height() - $('#main-menu-container .navbar').outerHeight() - $('#job-status').outerHeight() - 80; + available_height = $(window).height() - $('#main-menu-container .navbar').outerHeight() - 80; $('.jobs-list-container').each(function() { $(this).height(Math.floor(available_height / 2)); });