[wp-trac] [WordPress Trac] #43904: Media toolbar spacing inconsistent across views

WordPress Trac noreply at wordpress.org
Wed Feb 15 23:04:44 UTC 2023


#43904: Media toolbar spacing inconsistent across views
-------------------------------------+-------------------------------------
 Reporter:  desrosj                  |       Owner:  (none)
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Media                    |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  good-first-bug has-      |     Focuses:  ui, css,
  patch needs-testing                |  administration
-------------------------------------+-------------------------------------
Changes (by sabernhardt):

 * focuses:  ui, administration => ui, css, administration


Comment:

 The `view-switch` container [https://github.com/WordPress/wordpress-
 develop/blob/239f73ce403df4784676327e8b95aff3d84af81a/src/wp-admin/css
 /list-tables.css#L711-L720 adds 4 pixels to the right margin] in Grid mode
 to account for the lack of whitespace between elements. The `select`
 elements have a 10-pixel right margin in Grid mode, so a 6-pixel margin
 plus the space would be consistent with that. I also set the other sides
 to zero margin in List mode to remove the 1-pixel left margin.

 If you test within the 783-900 pixel range, the `select` elements have a
 larger font size and padding in Grid mode, but that does not relate to the
 spacing.

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


More information about the wp-trac mailing list