Skip to content

Commit d8368e7

Browse files
committed
Menus: Hide the "Remove selected item" from Menus screen when no item is selected.
This changeset removes the "Remove selected item" from the classic Navigation Menus screen when no item is selected, and makes it non focusable from assistive technologies. Plus, this changeset fixes a small unrelated coding standard issue in `nav-menus.css`. Props kebbet, joedolson, audrasjb. Fixes #56942. git-svn-id: https://develop.svn.wordpress.org/trunk@55109 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 9705e4e commit d8368e7

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/wp-admin/css/nav-menus.css

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ label.bulk-select-button:focus-within {
169169
color: #0a4b78;
170170
}
171171

172-
input.bulk-select-switcher:focus + .bulk-select-button-label{
172+
input.bulk-select-switcher:focus + .bulk-select-button-label {
173173
color: #0a4b78;
174174
}
175175

@@ -191,9 +191,7 @@ input.bulk-select-switcher:focus + .bulk-select-button-label{
191191
}
192192

193193
.bulk-actions input.menu-items-delete.disabled {
194-
cursor: default;
195-
color: #a7aaad;
196-
box-shadow: none;
194+
display: none;
197195
}
198196

199197
.menu-settings {

0 commit comments

Comments
 (0)