[wp-trac] [WordPress Trac] #32579: Admin menu: color schemes fly-out menu background when focused

WordPress Trac noreply at wordpress.org
Thu Mar 18 21:42:26 UTC 2021


#32579: Admin menu: color schemes fly-out menu background when focused
----------------------------+----------------------
 Reporter:  afercia         |       Owner:  ryelle
     Type:  defect (bug)    |      Status:  closed
 Priority:  normal          |   Milestone:
Component:  Administration  |     Version:  4.2
 Severity:  normal          |  Resolution:  fixed
 Keywords:  has-patch       |     Focuses:  ui, css
----------------------------+----------------------
Changes (by ryelle):

 * owner:  (none) => ryelle
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"50549" 50549]:
 {{{
 #!CommitTicketReference repository="" revision="50549"
 Administration: Make focus states consistent in admin menu when collapsed.

 When collapsed or on a small screen, these styles would override the color
 schemes, causing a dark background to appear regardless of the color
 scheme's settings. This change also uses `focus-within` to show or hide
 the menu item's arrow, consistent with how the arrow behaves on hover.

 Props afercia, Bueltge.
 Fixes #32579.
 }}}

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


More information about the wp-trac mailing list