From e05d071dab54c0a17ddc842fcbc17f21fcfa1434 Mon Sep 17 00:00:00 2001 From: Haokun-Chen Date: Wed, 15 Aug 2018 14:29:32 -0400 Subject: [PATCH 1/2] add max-height to job output console at breakpoint --- awx/ui/client/features/output/_index.less | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/awx/ui/client/features/output/_index.less b/awx/ui/client/features/output/_index.less index 2fb6239c7e..61e57c3328 100644 --- a/awx/ui/client/features/output/_index.less +++ b/awx/ui/client/features/output/_index.less @@ -148,6 +148,10 @@ margin: 0; overflow-y: scroll; padding: 0; + + @media screen and (max-width: @breakpoint-md) { + max-height: 2500px; + } } &-borderHeader { From f4728149d9ae098beaf86a82776040f86df17450 Mon Sep 17 00:00:00 2001 From: Jared Tabor Date: Wed, 15 Aug 2018 14:44:03 -0700 Subject: [PATCH 2/2] Changes max height of stdout panel for skinny browser widths --- awx/ui/client/features/output/_index.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/ui/client/features/output/_index.less b/awx/ui/client/features/output/_index.less index 61e57c3328..368e2a4e65 100644 --- a/awx/ui/client/features/output/_index.less +++ b/awx/ui/client/features/output/_index.less @@ -150,7 +150,7 @@ padding: 0; @media screen and (max-width: @breakpoint-md) { - max-height: 2500px; + max-height: calc(100vh - 30px); } }