mirror of
https://github.com/ZwareBear/awx.git
synced 2026-05-03 13:21:48 -05:00
Fix issue with graph modules causing vertical scroll
This commit is contained in:
@@ -86,17 +86,14 @@ function Home($scope, $compile, $routeParams, $rootScope, $location, $log, Wait,
|
||||
"margin-bottom": "15px"};
|
||||
$('.graph-container').css(borderStyles);
|
||||
|
||||
var winHeight = $(window).height(),
|
||||
available_height = winHeight - $('#main-menu-container .navbar').outerHeight() - $('#count-container').outerHeight() - 120;
|
||||
$('.graph-container').height(available_height/2);
|
||||
// // chart.update();
|
||||
|
||||
DashboardCounts({
|
||||
scope: $scope,
|
||||
target: 'dash-counts',
|
||||
dashboard: data
|
||||
});
|
||||
|
||||
// // chart.update();
|
||||
|
||||
$scope.graphData = graphData;
|
||||
|
||||
if ($rootScope.user_is_superuser !== true) {
|
||||
|
||||
Reference in New Issue
Block a user