Skip to content

Commit 9a03e90

Browse files
committed
Toolbar: Add search icon prefix to command palette item in admin bar.
Displays a search icon before the shortcut text in desktop view to clarify the item's purpose. Follow-up to [61912], [61979]. Props sabernhardt, siliconforks, presskopp, westonruter, wildworks. See #64672. git-svn-id: https://develop.svn.wordpress.org/trunk@62092 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 8630a51 commit 9a03e90

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

src/wp-includes/css/admin-bar.css

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -697,13 +697,10 @@ html:lang(he-il) .rtl #wpadminbar * {
697697
/**
698698
* Command Palette
699699
*/
700-
#wpadminbar #wp-admin-bar-command-palette .ab-icon {
701-
display: none; /* Icon displayed only on mobile */
702-
}
703-
704700
#wpadminbar #wp-admin-bar-command-palette .ab-icon:before {
705701
content: "\f179";
706702
content: "\f179" / '';
703+
top: 3px;
707704
}
708705

709706
#wpadminbar #wp-admin-bar-command-palette kbd {
@@ -958,10 +955,6 @@ html:lang(he-il) .rtl #wpadminbar * {
958955
margin: 0;
959956
}
960957

961-
#wpadminbar #wp-admin-bar-command-palette .ab-icon {
962-
display: block; /* Icon is only shown on mobile, while the keyboard shortcut is hidden */
963-
}
964-
965958
#wpadminbar #wp-admin-bar-comments .ab-icon:before,
966959
#wpadminbar #wp-admin-bar-command-palette .ab-icon:before {
967960
display: block;

0 commit comments

Comments
 (0)