Make WordPress Core

Changeset 62092


Ignore:
Timestamp:
03/23/2026 11:01:44 AM (3 days ago)
Author:
wildworks
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/css/admin-bar.css

    r61979 r62092  
    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
     
    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 {
Note: See TracChangeset for help on using the changeset viewer.