[wp-trac] [WordPress Trac] #51343: Move Current Submenu to top of Admin Menu

WordPress Trac noreply at wordpress.org
Fri Sep 18 12:48:11 UTC 2020


#51343: Move Current Submenu to top of Admin Menu
-------------------------------------+-----------------------------
 Reporter:  markpraschan             |      Owner:  (none)
     Type:  enhancement              |     Status:  new
 Priority:  normal                   |  Milestone:  Awaiting Review
Component:  Administration           |    Version:
 Severity:  minor                    |   Keywords:
  Focuses:  ui, css, administration  |
-------------------------------------+-----------------------------
 I propose moving the **current open submenu** to the **top of the
 adminmenu** so users can more easily navigate to submenu items without
 having to scroll. This would be especially helpful when using smaller
 viewports and/or sites with large/numerous submenus.

 The following CSS accomplishes this:

 {{{
 #adminmenu {
     display: flex;
     flex-flow: column;
 }
 .wp-has-current-menu {
     order: 1;
 }
 .wp-not-current-submenu {
     order: 2;
 }
 #collapse-menu {
     order: 3;
 }
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/51343>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list