• Resolved robzy

    (@robzy)


    When I preview my site, the UCP icon and text in the admin bar at the top don’t stay on the same line, there’s a line break after the icon.

    Example: https://imgur.com/a/yTqyaVV

    Can you fix that? Maybe add display: inline-block; to the icon’s <img> element.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Alexandru Tapuleasa

    (@talextech)

    Well, it should be inline normally, we haven’t had any other reports of this so I assume some other plugin is adding some CSS to the admin bar changing the layout. But we will add display:inline-block !important; to the icon in the next version, sure.

    Thread Starter robzy

    (@robzy)

    Yeah it looks like the theme I’m using assigns display: block to all img elements, and UCP is the only plug-in that uses an img element to display the icon; all others seem to use dashicons, a background image, etc. Great if you can hardcode that as an inline-block, a float, or something similar. Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Admin bar: keep icon and text on same line’ is closed to new replies.