[wp-trac] [WordPress Trac] #44438: Prevent Admin Bar Items From Wrapping if There's More Items Than the Available Adminbar Width

WordPress Trac noreply at wordpress.org
Fri Jul 6 20:24:20 UTC 2018


#44438: Prevent Admin Bar Items From Wrapping if There's More Items Than the
Available Adminbar Width
-------------------------------------------------+-------------------------
 Reporter:  KZeni                                |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
                                                 |  Review
Component:  Toolbar                              |     Version:  4.9.6
 Severity:  normal                               |  Resolution:
 Keywords:  needs-testing has-patch has-         |     Focuses:  ui,
  screenshots                                    |  administration
-------------------------------------------------+-------------------------

Comment (by KZeni):

 Okay, I tested to see how my patch would affect admin bars when there
 weren't too many items shown, and it had the secondary menu (user menu,
 etc.) left aligned in the item list rather than right aligned like you'd
 expect. As such, you'll find
 https://core.trac.wordpress.org/attachment/ticket/44438/Updated%20patch%20for
 %20admin-bar.css is the updated patch to use which fixes this issue.

 Here's screenshots of the results with this updated patch.

 Again, here's what WordPress currently does (overlapping items hijack
 hover and makes things inaccessible, and the user experience is generally
 broken):
 [[Image(https://cldup.com/KFuta_EkKa.png)]]

 Too many items to show with patch (at least show the left icon & truncate
 text as needed):
 [[Image(https://cldup.com/YuwkAezcuG.png)]]

 Fewer items shown with patch (shows normally):
 [[Image(https://cldup.com/rgm8FakWZ4.png)]]

 Should be ready for testing & implementation now.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/44438#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list