fix test & analysis view

pull/3094/head
yann300 6 years ago
parent e7adb37737
commit b40b13ee76
  1. 6
      src/app/staticanalysis/staticAnalysisView.js
  2. 4
      src/app/staticanalysis/styles/staticAnalysisView-styles.js
  3. 4
      src/app/tabs/styles/test-tab-styles.js
  4. 2
      src/app/tabs/test-tab.js

@ -67,8 +67,10 @@ staticAnalysisView.prototype.render = function () {
</div>
<div id="staticanalysismodules" class="list-group list-group-flush ${css.container}">
${this.modulesView}
</div>
<div class="${css.result}" "id='staticanalysisresult'></div>
</div>
<hr>
<div><h6>Results:</h6></div>
<div class="${css.result}" id='staticanalysisresult'></div>
</div>
`
if (!this.view) {

@ -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;
}
`

@ -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;

@ -187,6 +187,8 @@ module.exports = class TestTab extends ApiFactory {
</label>
</div>
${this.testList}
<hr>
<div class="${css.buttons}" ><h6>Results:</h6></div>
${this.testsOutput}
${this.testsSummary}
</div>

Loading…
Cancel
Save