Make WordPress Core

Opened 5 years ago

Closed 5 years ago

#15412 closed defect (bug) (fixed)

Hide Extra-Long admin bar text

Reported by: filosofo Owned by: filosofo
Milestone: 3.1 Priority: normal
Severity: normal Version: 3.1
Component: Template Keywords: has-patch
Focuses: Cc:


Each admin bar link has a fixed height and width (thanks to the requirements of the background image sprite), so it has white-space:nowrap set.

That means that with a few words, the text hangs hideously outside the box of the admin bar dropdown.

Patch adds the overflow:hidden rule so it disappears politely at the edge of the list item.

Please see the attached before and after screenshots for a demonstration.

Attachments (2)

before_after_menu_overhang.png (112.2 KB) - added by filosofo 5 years ago.
hide-handing-admin-bar-list-elements.15412.diff (385 bytes) - added by filosofo 5 years ago.

Download all attachments as: .zip

Change History (3)

#1 @ryan
5 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [16664]) Hide Extra-Long admin bar text. Props filosofo. fixes #15412

Note: See TracTickets for help on using tickets.