From 4bd73e1b9c365ac33511d073c6a90a429156d136 Mon Sep 17 00:00:00 2001 From: Kelly Choyce-Dwan Date: Tue, 25 May 2021 17:09:40 +0000 Subject: [PATCH] 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 --- src/wp-includes/css/admin-bar.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/wp-includes/css/admin-bar.css b/src/wp-includes/css/admin-bar.css index 4ee119c963..7822465056 100644 --- a/src/wp-includes/css/admin-bar.css +++ b/src/wp-includes/css/admin-bar.css @@ -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;