diff --git a/warehouse/static/js/warehouse/index.js b/warehouse/static/js/warehouse/index.js index 0c005806bc53..4eb8c8af32e4 100644 --- a/warehouse/static/js/warehouse/index.js +++ b/warehouse/static/js/warehouse/index.js @@ -143,18 +143,18 @@ docReady(() => { }); docReady(() => { - let changeRoleForms = document.querySelectorAll("form.change-role"); + let changeRoleForms = document.querySelectorAll("form.table__change-role"); if (changeRoleForms) { for (let form of changeRoleForms) { - let changeButton = form.querySelector("button.change-button"); - let changeSelect = form.querySelector("select.change-field"); + let changeButton = form.querySelector("button.table__change-button"); + let changeSelect = form.querySelector("select.table__change-field"); changeSelect.addEventListener("change", function (event) { if (event.target.value === changeSelect.dataset.original) { changeButton.style.display = "none"; } else { - changeButton.style.display = "inline-block"; + changeButton.style.display = "block"; } }); } diff --git a/warehouse/static/sass/blocks/_breadcrumbs.scss b/warehouse/static/sass/blocks/_breadcrumbs.scss index 76b5f008b0f8..570e4f221462 100644 --- a/warehouse/static/sass/blocks/_breadcrumbs.scss +++ b/warehouse/static/sass/blocks/_breadcrumbs.scss @@ -15,8 +15,8 @@ /* Navigation breadcrumbs. -