[wp-trac] [WordPress Trac] #35206: Allow theme authors to control white space between menu items

WordPress Trac noreply at wordpress.org
Sun Feb 21 14:35:29 UTC 2016


#35206: Allow theme authors to control white space between menu items
--------------------------------------+-----------------------
 Reporter:  peterwilsoncc             |       Owner:
     Type:  enhancement               |      Status:  new
 Priority:  normal                    |   Milestone:  4.5
Component:  Menus                     |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-unit-tests has-patch  |     Focuses:  template
--------------------------------------+-----------------------

Comment (by afercia):

 Just wanted to add that the previous change was reverted just to support a
 single, specific, rarely used, CSS technique for "justified menu items"
 which is basically a CSS hack, you can see it here:
 https://core.trac.wordpress.org/ticket/35107#comment:2
 it is a hack because it has to "fake" a second line of text in order to
 make justified alignment work. Worth considering we'll all soon [https
 ://css-tricks.com/equidistant-objects-with-css/ use Flexbox] for this.

 By the way, the main issue is still the original one: WordPress uses two
 functions for the same purpose and these two functions output inconsistent
 HTML. Even if it's a small detail, I think we should find a solution
 unless we intentionally want to make developers life harder :)

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


More information about the wp-trac mailing list