[wp-trac] [WordPress Trac] #48436: Media: fix the layout of Gallery settings in the media modal dialog

WordPress Trac noreply at wordpress.org
Sat Oct 26 12:59:38 UTC 2019


#48436: Media: fix the layout of Gallery settings in the media modal dialog
-------------------------------------------------+-------------------------
 Reporter:  afercia                              |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
                                                 |  Review
Component:  Media                                |     Version:  3.9
 Severity:  normal                               |  Resolution:
 Keywords:  has-screenshots needs-design-        |     Focuses:  ui
  feedback                                       |
-------------------------------------------------+-------------------------
Changes (by afercia):

 * keywords:  has-screenshots => has-screenshots needs-design-feedback


Comment:

 It appears this CSS ruleset:

 {{{
 .collection-settings .setting span {
     min-width: inherit;
 }
 }}}

 is no longer necessary. Removing it would restore the "two columns" layout
 illustrated in the first screenshot above. The `collection-settings`
 selector is only used for galleries and playlists settings in the right
 sidebar, see the templates `gallery-settings` and `playlist-settings`.
 Removing that `min-width: inherit` won't affect anything else.

 However, instead of restoring the two columns. I'd like to propose to
 stack the labels and form controls vertically (except for the checkbox).
 Two columns in a so limited space within the right sidebar proved to be
 problematic especially with longer translations.

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


More information about the wp-trac mailing list