From be0a77b20324073b63491a15ffe720e443350166 Mon Sep 17 00:00:00 2001 From: Haokun-Chen Date: Mon, 25 Jun 2018 15:59:16 -0400 Subject: [PATCH] add responsiveness to job output panel --- awx/ui/client/features/output/_index.less | 11 +++++++++-- awx/ui/client/features/output/index.view.html | 2 ++ 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/awx/ui/client/features/output/_index.less b/awx/ui/client/features/output/_index.less index f1da9d24aa..db90e25087 100644 --- a/awx/ui/client/features/output/_index.less +++ b/awx/ui/client/features/output/_index.less @@ -133,11 +133,19 @@ } } + &-wrapper { + display: flex; + height: 100%; + max-height: 644px; + flex-direction: column; + } + &-container { + flex: 1; display: flex; flex-direction: column; font-family: monospace; - height: 100%; + height: auto; overflow-y: scroll; font-size: 15px; border: 1px solid @at-gray-b7; @@ -148,7 +156,6 @@ border-radius: 0; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; - max-height: ~"calc(100vh - 350px)"; } &-borderHeader { diff --git a/awx/ui/client/features/output/index.view.html b/awx/ui/client/features/output/index.view.html index f81a715a42..dd5de91357 100644 --- a/awx/ui/client/features/output/index.view.html +++ b/awx/ui/client/features/output/index.view.html @@ -7,6 +7,7 @@ +
{{ vm.title }}
@@ -53,5 +54,6 @@
+