[wp-trac] [WordPress Trac] #54210: Admin collapse button inactive due to a media query incorrectly targeting a breakpoint

WordPress Trac noreply at wordpress.org
Sun Oct 3 06:28:16 UTC 2021


#54210: Admin collapse button inactive due to a media query incorrectly targeting a
breakpoint
-------------------------+-------------------------------------------------
 Reporter:  Webaxones    |       Owner:  (none)
     Type:  defect       |      Status:  new
  (bug)                  |
 Priority:  normal       |   Milestone:  5.9
Component:               |     Version:  5.8.1
  Administration         |
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:  ui, accessibility, javascript,
                         |  administration
-------------------------+-------------------------------------------------
Changes (by sabernhardt):

 * keywords:   => has-patch
 * focuses:  ui, accessibility, css, administration => ui, accessibility,
     javascript, administration
 * milestone:  Awaiting Review => 5.9


Comment:

 Hi and thanks for the report!

 The problem seems to be in the common.js file, not CSS.

 `viewportWidth < 960` did not include 960 pixels, so I switched the
 operator to less than or equal to 960.

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


More information about the wp-trac mailing list