[wp-trac] [WordPress Trac] #19126: No separator between Search and custom items in Admin Bar

WordPress Trac wp-trac at lists.automattic.com
Thu Nov 3 04:45:54 UTC 2011


#19126: No separator between Search and custom items in Admin Bar
--------------------------+--------------------------
 Reporter:  markjaquith   |       Owner:  markjaquith
     Type:  defect (bug)  |      Status:  accepted
 Priority:  normal        |   Milestone:  3.3
Component:  UI            |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+--------------------------
Changes (by markjaquith):

 * keywords:   => has-patch
 * owner:   => markjaquith
 * status:  new => accepted


Old description:

> [[Image(http://stage.f.cl.ly/items/2x112S1t011l0Y1s2x3t/Screen%20Shot%202011-11-02%20at%2011.59.38%20PM.png)]]
>
> We should use CSS {{{:last}}} to omit the separator after the last item,
> whether built-in or custom.

New description:

 [[Image(http://stage.f.cl.ly/items/2x112S1t011l0Y1s2x3t/Screen%20Shot%202011-11-02%20at%2011.59.38%20PM.png)]]

 We should use CSS {{{:last-child}}} to omit the separator after the last
 item, whether built-in or custom.

--

Comment:

 Patch to use CSS {{{:last-child}}} to hide the right border. Use {{{admin-
 menu-test.php}}} (drop in {{{mu-plugins}}}) to test.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/19126#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list