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.



git-svn-id: https://develop.svn.wordpress.org/trunk@51004 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Kelly Choyce-Dwan
2021-05-25 17:09:40 +00:00
parent ea49625d59
commit 4bd73e1b9c
+4
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;