Make WordPress Core

Changeset 51004


Ignore:
Timestamp:
05/25/2021 05:09:40 PM (5 years ago)
Author:
ryelle
Message:

Toolbar: Prevent username from wrapping when avatars are disabled.

In IE11, the floated icon causes the "Howdy, username" to wrap to a second line, preventing access to help tabs and possibly affecting the frontend. Changing the display fixes the layout, and prevents the wrap.

Props bhwebworks, 5um17, sabernhardt, boniu91, audrasjb.
Fixes #26933.

File:
1 edited

Legend:

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

    r50847 r51004  
    399399#wp-admin-bar-my-account > ul {
    400400        min-width: 198px;
     401}
     402
     403#wp-admin-bar-my-account:not(.with-avatar) > .ab-item {
     404        display: inline-block;
    401405}
    402406
Note: See TracChangeset for help on using the changeset viewer.