[wp-trac] [WordPress Trac] #41648: Alignment issue on media-new.php when browse uploader screen is active

WordPress Trac noreply at wordpress.org
Fri Jul 10 10:13:09 UTC 2020


#41648: Alignment issue on media-new.php when browse uploader screen is active
-------------------------------------+-------------------------------------
 Reporter:  krupajnanda              |       Owner:  SergeyBiryukov
     Type:  defect (bug)             |      Status:  reviewing
 Priority:  low                      |   Milestone:  5.5
Component:  Media                    |     Version:  4.8.1
 Severity:  minor                    |  Resolution:
 Keywords:  good-first-bug has-      |     Focuses:  ui, css,
  patch needs-testing                |  administration
-------------------------------------+-------------------------------------
Changes (by sabernhardt):

 * keywords:  good-first-bug has-patch needs-refresh needs-testing => good-
     first-bug has-patch needs-testing


Comment:

 In [attachment:"41648.size-13px.diff"], the CSS selector is changed to
 `#html-upload-ui #async-upload` so it affects the file input with or
 without JavaScript.

 Before and after the patch, alignment was fine in Windows browsers
 (Chrome, Firefox, Edge-Chromium, IE11, Vivaldi). Of course, the patch
 still needs testing in at least MacOS.

 I also get the same results with a value of 1em instead of 13px, so that
 option is available, too. (If unsure about the 1em option, go with 13px.)

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


More information about the wp-trac mailing list