2.0 style changes

More work on status area of job detail page. It now collapses perfectly as viewport size shrinks.
This commit is contained in:
Chris Houseknecht
2014-06-25 11:16:39 -04:00
parent 6930057d32
commit 5ee176e451
3 changed files with 81 additions and 52 deletions

View File

@@ -530,7 +530,6 @@ function JobDetailController ($rootScope, $scope, $compile, $routeParams, $log,
$('#tasks-table-detail').mCustomScrollbar("update");
$('#hosts-table-detail').height(150);
$('#hosts-table-detail').mCustomScrollbar("update");
//height = $('#wrap').height() - $('.site-footer').outerHeight() - $('.main-container').height();
height = $(window).height() - $('#main-menu-container .navbar').outerHeight();
if (height > 15) {
// there's a bunch of white space at the bottom, let's use it