diff --git a/web/static/css/vulnerability-workspace.css b/web/static/css/vulnerability-workspace.css index b3c80307..566e5524 100644 --- a/web/static/css/vulnerability-workspace.css +++ b/web/static/css/vulnerability-workspace.css @@ -93,9 +93,10 @@ cursor: pointer; } .vulnerability-domain-label[aria-pressed="true"] { color: var(--accent-color); font-weight: 600; } -.vulnerability-host-heading-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; margin-inline-start: auto; } +.vulnerability-host-heading-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px; max-width: 100%; margin-inline-start: auto; } .vulnerability-host-heading-actions [hidden] { display: none; } #page-vulnerabilities .vulnerability-host-results-heading { align-items: start; } +#page-vulnerabilities .vulnerability-host-results-heading[hidden] { display: none; } #vulnerability-host-selection { min-width: 0; flex: 1 1 180px; diff --git a/web/static/js/vulnerability.js b/web/static/js/vulnerability.js index a266e56a..f971ce22 100644 --- a/web/static/js/vulnerability.js +++ b/web/static/js/vulnerability.js @@ -1477,15 +1477,15 @@ function renderVulnerabilityBrowser(vulnerabilities, opts) {

-
- - -
- +
+ + + +
@@ -1563,6 +1563,7 @@ function renderVulnerabilityBrowserTable() { : ''; const heading = document.getElementById('vulnerability-host-selection'); heading.hidden = !selection; + heading.parentElement.hidden = !selection; heading.textContent = selection ? label || vulnT('vulnerabilityPage.unknownHost') : ''; heading.title = heading.textContent; document.getElementById('vulnerability-host-clear').hidden = !selection; diff --git a/web/templates/index.html b/web/templates/index.html index 06b1eafd..b9e25090 100644 --- a/web/templates/index.html +++ b/web/templates/index.html @@ -47,7 +47,7 @@ - + @@ -7097,7 +7097,7 @@ - +