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.


Built from https://develop.svn.wordpress.org/trunk@51004


git-svn-id: http://core.svn.wordpress.org/trunk@50613 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryelle 2021-05-25 17:10:58 +00:00
parent 4ae0e4220f
commit b797aa3b53
5 changed files with 11 additions and 3 deletions

View File

@ -401,6 +401,10 @@ html:lang(he-il) .rtl #wpadminbar * {
min-width: 198px;
}
#wp-admin-bar-my-account:not(.with-avatar) > .ab-item {
display: inline-block;
}
#wp-admin-bar-my-account > .ab-item:before {
content: "\f110";
top: 2px;

File diff suppressed because one or more lines are too long

View File

@ -400,6 +400,10 @@ html:lang(he-il) .rtl #wpadminbar * {
min-width: 198px;
}
#wp-admin-bar-my-account:not(.with-avatar) > .ab-item {
display: inline-block;
}
#wp-admin-bar-my-account > .ab-item:before {
content: "\f110";
top: 2px;

File diff suppressed because one or more lines are too long

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.8-alpha-51003';
$wp_version = '5.8-alpha-51004';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.