Jobstdout bug fix

Forced scroll to bottom during live event processing fixed. Bottom spinner right margin fixed.
This commit is contained in:
Chris Houseknecht 2014-07-03 14:46:14 -04:00
parent ac3e76236a
commit d34bf8675d
2 changed files with 2 additions and 1 deletions

View File

@ -213,7 +213,7 @@ function JobStdoutController ($log, $rootScope, $scope, $compile, $routeParams,
// if user has not disabled live event view by scrolling upward, then scroll down to the new content
current_range = data.range;
auto_scroll_down = true; // prevent auto load from happening
$('#pre-container-content').scrollTop($('#pre-container-content').prop("scrollHeight"));
$('#pre-container').scrollTop($('#pre-container').prop("scrollHeight"));
}
$('#stdoutMoreRowsBottom').fadeOut(400);
})

View File

@ -27,6 +27,7 @@
}
#stdoutMoreRowsBottom {
float: right;
padding-right: 15px;
}
#pre-container {
overflow-x: scroll;