Skip to content

Commit

Permalink
Merge pull request #2039 from devtron-labs/fix/cd-pipeline
Browse files Browse the repository at this point in the history
chore: fix security modal scroll height
  • Loading branch information
arunjaindev authored Sep 10, 2024
2 parents 7935169 + 4f58fef commit 42fa277
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/components/common/security/ScanDetailsModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -218,18 +218,18 @@ export class ScanDetailsModal extends Component<ScanDetailsModalProps, ScanDetai
>
{this.renderHeader()}
{this.renderAppEnvInfo()}
<div className="trigger-modal__body trigger-modal__body--security-scan">
<div className="flexbox-col dc__overflow-auto p-0 bcn-0 trigger-modal__body--security-scan">
{this.state.view === ViewType.LOADING ? (
<Progressing pageLoader />
) : this.state.view === ViewType.ERROR ? (
<Reload reload={this.callGetAPI} />
) : this.state.view === ViewType.FORM && this.state.vulnerabilities.length === 0 ? (
<NoVulnerabilityViewWithTool scanToolId={this.state.scanToolId} />
) : (
<div className="trigger-modal__body trigger-modal__body--security-scan">
<>
{this.renderScannedObjectInfo()}
{this.renderTable()}
</div>
</>
)}
</div>
</div>
Expand Down
3 changes: 1 addition & 2 deletions src/components/security/security.scss
Original file line number Diff line number Diff line change
Expand Up @@ -368,8 +368,7 @@
}

.trigger-modal__body--security-scan {
background-color: var(--N000);
padding: 0;
height: calc(100vh - 87px);
}

.vulnerability-exp__form {
Expand Down

0 comments on commit 42fa277

Please sign in to comment.