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

WordPress Trac noreply at wordpress.org
Thu Feb 4 22:00:38 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 peterwilsoncc):

 Disabling the fallback/the CSS above are hacky workarounds an issue with
 core, rahter than solutions.

 Calling a function with default arguments should return consistent markup.
 I remember that being commented upon in #core when [34321] was committed.

 Of the proposed CSS workarounds, `float` dictates design and `font-size`
 prevents the use of particular CSS units and - at best - lacks consistency
 cross browser.

 If adding an argument to the function is not an option, how can we solve
 this problem?

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


More information about the wp-trac mailing list