[wp-trac] [WordPress Trac] #15412: Hide Extra-Long admin bar text
WordPress Trac
wp-trac at lists.automattic.com
Fri Nov 12 23:42:55 UTC 2010
#15412: Hide Extra-Long admin bar text
--------------------------+-------------------------------------------------
Reporter: filosofo | Owner: filosofo
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.1
Component: Template | Version: 3.1
Severity: normal | Keywords: has-patch
--------------------------+-------------------------------------------------
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.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15412>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list