[wp-trac] [WordPress Trac] #42157: Labels are misaligned for radio and checkbox controls in customizer (was: Labels are misaligned for radio controls in customizer)

WordPress Trac noreply at wordpress.org
Tue Oct 10 13:16:11 UTC 2017


#42157: Labels are misaligned for radio and checkbox controls in customizer
--------------------------------------+--------------------
 Reporter:  sayedwp                   |       Owner:
     Type:  defect (bug)              |      Status:  new
 Priority:  normal                    |   Milestone:  4.9
Component:  Customize                 |     Version:  trunk
 Severity:  normal                    |  Resolution:
 Keywords:  good-first-bug has-patch  |     Focuses:  ui
--------------------------------------+--------------------

Comment (by sayedwp):

 @Shital Patel  I think updating the `label` in forms.css file would affect
 other labels in WordPress specially in post edit and general options page
 as I can imagin. You might want to be a bit more specific and add this css
 in
 `wp-admin/css/customize-controls.css` file.

 {{{
 .customize-control-radio label,
 .customize-control-checkbox label {
         vertical-align: top;
 }
 }}}

 I just noticed checkboxe labels like "Display Site Title and Tagline" in
 "Site Identity" section is also not aligned which would be fixed with the
 above css.
 But then again it would affect other customizer controls like "Menu
 Locations" checkboxes, so those would need to be fixed as well.

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


More information about the wp-trac mailing list