[wp-trac] [WordPress Trac] #40220: Customizer: Consider natural-width media buttons

WordPress Trac noreply at wordpress.org
Fri May 12 16:57:12 UTC 2017


#40220: Customizer: Consider natural-width media buttons
-------------------------------------------------+-------------------------
 Reporter:  melchoyce                            |       Owner:  afercia
     Type:  enhancement                          |      Status:  assigned
 Priority:  normal                               |   Milestone:  4.8
Component:  Customize                            |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  good-first-bug has-screenshots has-  |     Focuses:  ui
  patch commit                                   |
-------------------------------------------------+-------------------------
Changes (by afercia):

 * keywords:  good-first-bug has-screenshots needs-patch => good-first-bug
     has-screenshots has-patch commit
 * owner:   => afercia
 * status:  new => assigned


Comment:

 [attachment:40220.3.diff] adds top margin for all the buttons. Also,
 allows the widgets buttons text to wrap in a new line, as the other
 buttons do. See

 {{{
         width: auto;
         height: auto;
         white-space: normal;
 }}}

 Not sure this works in all browsers, it does on webkit. If it doesn't work
 in some browsers, it won't harm anything.

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


More information about the wp-trac mailing list