mirror of
https://github.com/ansible/awx.git
synced 2024-11-01 16:51:11 +03:00
Job stdout refactor
Fixed stdout container to use the the new stdout style sheet. Controller for stdout now correctly calcs height of the content container.
This commit is contained in:
parent
95ba711fc1
commit
8752c71e38
@ -11,7 +11,6 @@
|
||||
.navbar {
|
||||
position: relative;
|
||||
min-height: @navbar-height; // Ensure a navbar always shows (e.g., without a .navbar-brand in collapsed mode)
|
||||
margin-bottom: @navbar-margin-bottom;
|
||||
border: 1px solid transparent;
|
||||
|
||||
// Prevent floats from breaking the navbar
|
||||
@ -30,7 +29,6 @@
|
||||
|
||||
.navbar-header {
|
||||
&:extend(.clearfix all);
|
||||
|
||||
@media (min-width: @grid-float-breakpoint) {
|
||||
float: left;
|
||||
}
|
||||
@ -378,6 +376,7 @@
|
||||
// Default navbar
|
||||
.navbar-default {
|
||||
background-color: @navbar-default-bg;
|
||||
padding-top: 5px;
|
||||
|
||||
.navbar-brand {
|
||||
color: @navbar-default-brand-color;
|
||||
|
2
awx/ui/static/css/ansible-bootstrap.min.css
vendored
2
awx/ui/static/css/ansible-bootstrap.min.css
vendored
File diff suppressed because one or more lines are too long
@ -53,14 +53,14 @@ function JobStdoutController ($rootScope, $scope, $compile, $routeParams, ClearS
|
||||
});
|
||||
|
||||
function resizeToFit() {
|
||||
available_height = $(window).height() - $('.main-menu').outerHeight() - $('#main_tabs').outerHeight() -
|
||||
$('#breadcrumb-container').outerHeight() - $('.site-footer').outerHeight() * 2;
|
||||
if ($(window).width() < 768) {
|
||||
available_height = $(window).height() - $('#main-menu-container .navbar').outerHeight() -
|
||||
$('#breadcrumb-container').outerHeight() - 20;
|
||||
/*if ($(window).width() < 768) {
|
||||
available_height += 55;
|
||||
}
|
||||
else if ($(window).width() > 1240) {
|
||||
available_height += 5;
|
||||
}
|
||||
}*/
|
||||
$('#pre-container').height(available_height);
|
||||
$('#pre-container').mCustomScrollbar("update");
|
||||
}
|
||||
|
@ -54,6 +54,7 @@
|
||||
@import "jobs.less";
|
||||
@import "inventory-edit.less";
|
||||
@import "breadcrumbs.less";
|
||||
@import "stdout.less";
|
||||
|
||||
|
||||
/* Bootstrap fix that's causing a right margin to appear
|
||||
|
@ -23,11 +23,10 @@ body {
|
||||
#main-menu-container {
|
||||
.navbar {
|
||||
margin-bottom: 0;
|
||||
margin-top: 5px;
|
||||
}
|
||||
.navbar-brand {
|
||||
position: absolute;
|
||||
top: 3px;
|
||||
top: 6px;
|
||||
left: 15px;
|
||||
padding: 0px 15px 0 15px;
|
||||
img {
|
||||
|
Loading…
Reference in New Issue
Block a user