From 02b80e98dd03fb2c2cdd6c2c1527e776dccd9143 Mon Sep 17 00:00:00 2001 From: yann300 Date: Thu, 4 Apr 2019 12:52:47 +0200 Subject: [PATCH] fix test & analysis view --- src/app/staticanalysis/staticAnalysisView.js | 6 ++++-- src/app/staticanalysis/styles/staticAnalysisView-styles.js | 4 +++- src/app/tabs/styles/test-tab-styles.js | 4 +++- src/app/tabs/test-tab.js | 2 ++ 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/src/app/staticanalysis/staticAnalysisView.js b/src/app/staticanalysis/staticAnalysisView.js index b8f00c468f..d8ce2c2fb5 100644 --- a/src/app/staticanalysis/staticAnalysisView.js +++ b/src/app/staticanalysis/staticAnalysisView.js @@ -67,8 +67,10 @@ staticAnalysisView.prototype.render = function () {
${this.modulesView} -
-
+ +
+
Results:
+
` if (!this.view) { diff --git a/src/app/staticanalysis/styles/staticAnalysisView-styles.js b/src/app/staticanalysis/styles/staticAnalysisView-styles.js index 65b241178a..4f157a8269 100644 --- a/src/app/staticanalysis/styles/staticAnalysisView-styles.js +++ b/src/app/staticanalysis/styles/staticAnalysisView-styles.js @@ -7,6 +7,8 @@ var css = csjs` } .result { margin-top: 1%; + max-height: 400px; + overflow-y: auto; } .buttons { margin: 1rem 0; @@ -26,7 +28,7 @@ var css = csjs` align-items: center; } .container { - max-height: 500px; + max-height: 400px; overflow-y: auto; } ` diff --git a/src/app/tabs/styles/test-tab-styles.js b/src/app/tabs/styles/test-tab-styles.js index 166e280beb..ca05bd7eb6 100644 --- a/src/app/tabs/styles/test-tab-styles.js +++ b/src/app/tabs/styles/test-tab-styles.js @@ -11,13 +11,15 @@ var css = csjs` display: flex; flex-direction: column; margin: 2%; - max-height: 500px; + max-height: 300px; overflow-y: auto; } .container { margin: 2%; padding-bottom: 5%; + max-height: 300px; + overflow-y: auto; } .outputTitle { font-weight: bold; diff --git a/src/app/tabs/test-tab.js b/src/app/tabs/test-tab.js index e3093054b8..cdf1a30aa4 100644 --- a/src/app/tabs/test-tab.js +++ b/src/app/tabs/test-tab.js @@ -187,6 +187,8 @@ module.exports = class TestTab extends ApiFactory { ${this.testList} +
+
Results:
${this.testsOutput} ${this.testsSummary}