diff --git a/core/src/main/resources/hudson/PluginManager/_table.js b/core/src/main/resources/hudson/PluginManager/_table.js index ded784a9650a..e648f2181cdb 100644 --- a/core/src/main/resources/hudson/PluginManager/_table.js +++ b/core/src/main/resources/hudson/PluginManager/_table.js @@ -339,7 +339,6 @@ Behaviour.specify("#filter-box", "_table", 0, function (e) { } } - dependentsDiv.classList.add('distant-axis') dependentsDiv.style.display = "inherit"; return dependentsDiv; } @@ -386,30 +385,26 @@ Behaviour.specify("#filter-box", "_table", 0, function (e) { } // Handle mouse in/out of the enable/disable cell (left most cell). - if (enableTD) { - enableTD.addEventListener("mouseenter", function () { - const button = enableTD.querySelector(`[data-type="app-tooltip-wrapper"]`); - const shinyNewDiv = document.createElement("div"); - - if (populateEnableDisableInfo(pluginTR, shinyNewDiv)) { - button.setAttribute("data-html-tooltip", shinyNewDiv.outerHTML); - Behaviour.applySubtree(button, true); - } - }); - } + enableTD.addEventListener("mouseenter", function () { + const button = enableTD.querySelector(`[data-type="app-tooltip-wrapper"]`); + const shinyNewDiv = document.createElement("div"); + + if (populateEnableDisableInfo(pluginTR, shinyNewDiv)) { + button.setAttribute("data-html-tooltip", shinyNewDiv.outerHTML); + Behaviour.applySubtree(button, true); + } + }); // Handle mouse in/out of the uninstall cell (right most cell). - if (uninstallTD) { - uninstallTD.addEventListener("mouseenter", function () { - const button = uninstallTD.querySelector(`[data-type="app-tooltip-wrapper"]`); - const shinyNewDiv = document.createElement("div"); - - if (populateUninstallInfo(pluginTR, shinyNewDiv)) { - button.setAttribute("data-html-tooltip", shinyNewDiv.outerHTML); - Behaviour.applySubtree(button, true); - } - }); - } + uninstallTD.addEventListener("mouseenter", function () { + const button = uninstallTD.querySelector(`[data-type="app-tooltip-wrapper"]`); + const shinyNewDiv = document.createElement("div"); + + if (populateUninstallInfo(pluginTR, shinyNewDiv)) { + button.setAttribute("data-html-tooltip", shinyNewDiv.outerHTML); + Behaviour.applySubtree(button, true); + } + }); } for (let j = 0; j < pluginTRs.length; j++) { diff --git a/war/src/main/scss/pages/_plugin-manager.scss b/war/src/main/scss/pages/_plugin-manager.scss index 2103e19184e8..60d0e500d34f 100644 --- a/war/src/main/scss/pages/_plugin-manager.scss +++ b/war/src/main/scss/pages/_plugin-manager.scss @@ -78,8 +78,8 @@ .plugin-dependency-info { display: flex; flex-direction: column; - gap: 0.4375rem; - padding-block: 0.3rem; + gap: 0.5rem; + padding: 0.4rem 0.1rem; max-width: 350px; .subtitle { @@ -87,7 +87,7 @@ color: var(--text-color-secondary); } - .distant-axis { + .dependent-list { display: flex; gap: 0.4375rem; flex-wrap: wrap;