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

WordPress Trac noreply at wordpress.org
Sat Oct 2 07:05:04 UTC 2021


#54210: Admin collapse button inactive due to a media query incorrectly targeting a
breakpoint
-------------------------------------------------+-------------------------
 Reporter:  Webaxones                            |      Owner:  (none)
     Type:  defect (bug)                         |     Status:  new
 Priority:  normal                               |  Milestone:  Awaiting
                                                 |  Review
Component:  Administration                       |    Version:  5.8.1
 Severity:  normal                               |   Keywords:
  Focuses:  ui, accessibility, css,              |
  administration                                 |
-------------------------------------------------+-------------------------
 If your browser is sized at 942px (942px on Chrome, 943px on Firefox) with
 the admin menu already collapsed, the collapse button appears to do
 nothing.
 If user click on it, nothing happens.
 And this happens because the media query targets a max-width of 960px
 instead of targeting 959.98px for example.
 This may seem like a minor bug, but this screen dimension is exactly the
 one you get on a 1920px resolution screen when you ask your OS (windows
 for example) to display 2 browsers side by side: 2 WP admin screens with 2
 buttons that don't work.

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


More information about the wp-trac mailing list