[wp-trac] [WordPress Trac] #38787: Add line-height to new customizer shortcut pencil icons

WordPress Trac noreply at wordpress.org
Mon Nov 14 19:00:20 UTC 2016


#38787: Add line-height to new customizer shortcut pencil icons
--------------------------+-----------------------------
 Reporter:  jbobich       |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Customize     |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:  ui            |
--------------------------+-----------------------------
 Not a huge deal, but if a theme is styling general buttons (as many themes
 are) any declared line-height will affect the new shortcut pencil icons in
 the customizer, possibly making them look a bit off. This is because no
 line-height is specified on these shortcut pencil icons.

 I'm referring to specifically:

 {{{
 .customize-partial-edit-shortcut button,
 .widget .customize-partial-edit-shortcut button {
         ...
 }
 }}}

 ... in wp-includes/css/customize-preview.css.

 Simply declaring a line-height there would fix this, for a more consistent
 customizer experience with this great, little new feature.

 Apologies, if I'm not explaining clearly. See attached screenshot.

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


More information about the wp-trac mailing list