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

WordPress Trac noreply at wordpress.org
Mon Mar 27 20:01:05 UTC 2017


#40220: Customizer: Consider natural-width media buttons
-------------------------+------------------------------
 Reporter:  melchoyce    |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Customize    |     Version:
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:  ui
-------------------------+------------------------------

Comment (by melchoyce):

 @folletto:

 > I've read both this and the other ticket, and I'm not 100% sure what the
 proposal is. Can we add some more details on what "natural-width" means,
 in which context? I've noticed the media buttons (i.e. Site Icon) use a
 48% width for example.

 "Natural-width" means letting the button take up as much or little room as
 it needs, rather than constraining it to a particular width (like 48%).
 Compare [attachment:ef97fc8-09a8-11e7-99b6-bc2d5afeef7a.png] to the
 existing media buttons in the Customizer, like Site Icon.

 > What problem does it solve? I read the explanation for translation, but
 I'm not sure how natural-width buttons would be better: if a text is too
 long wouldn't the button simply drop?

 Yup! That's the solution. This way, you can read the entire button,
 instead of the text being cut off.

 > And wouldn't be the same with fixed-width ones (or just the button gets
 taller?)

 No. You can see what currently happens in
 [attachment:a10f759c-0685-11e7-8616-9a622b546105.png].

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


More information about the wp-trac mailing list