diff --git a/awx/ui/client/src/helpers/LogViewer.js b/awx/ui/client/src/helpers/LogViewer.js index e098e782dd..bc2f7e6835 100644 --- a/awx/ui/client/src/helpers/LogViewer.js +++ b/awx/ui/client/src/helpers/LogViewer.js @@ -366,8 +366,10 @@ export default html = ""; if (params.standardOut) { html += 'Download'; + html += "
" + val + "\n"; + } else { + html += "
" + val + "\n"; } - html += "
" + val + "\n"; $('#' + id).empty().html(html); }; }]) diff --git a/awx/ui/client/src/partials/eventviewer.html b/awx/ui/client/src/partials/eventviewer.html index 54302fc9d1..941e9d80d6 100644 --- a/awx/ui/client/src/partials/eventviewer.html +++ b/awx/ui/client/src/partials/eventviewer.html @@ -1,4 +1,4 @@ - - \ No newline at end of file + diff --git a/awx/ui/client/src/partials/logviewer.html b/awx/ui/client/src/partials/logviewer.html index 2fafebf3f7..ff6288d2db 100644 --- a/awx/ui/client/src/partials/logviewer.html +++ b/awx/ui/client/src/partials/logviewer.html @@ -1,5 +1,5 @@ - - \ No newline at end of file + diff --git a/awx/ui/client/src/shared/download-standard-out.block.less b/awx/ui/client/src/shared/download-standard-out.block.less index 984fe1b2e3..7b8c2e9ec4 100644 --- a/awx/ui/client/src/shared/download-standard-out.block.less +++ b/awx/ui/client/src/shared/download-standard-out.block.less @@ -12,6 +12,7 @@ .DownloadStandardOut--onModal { margin-bottom: 10px; + float: right; } .DownloadStandardOut-icon { @@ -21,3 +22,7 @@ .DownloadStandardOut-icon--withText { margin-right: 5px; } + +.DownloadStandardOut-pre { + width: 100%; +}