[wp-trac] [WordPress Trac] #35206: Allow theme authors to control white space between menu items
WordPress Trac
noreply at wordpress.org
Tue Dec 29 18:10:14 UTC 2015
#35206: Allow theme authors to control white space between menu items
------------------------------------------+------------------------------
Reporter: peterwilsoncc | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Menus | Version:
Severity: normal | Resolution:
Keywords: needs-unit-tests needs-patch | Focuses: template
------------------------------------------+------------------------------
Comment (by obenland):
Replying to [comment:3 peterwilsoncc]:
> @obenland do you have an opinion following #27762? :)
I do, not sure if you like it though. I don't think it is necessary to go
as far as offering one/two more arguments to remove whitespace from menu
items, it feels over-engineered. Theme authors have a few ways to deal
with it, floating, setting font-size to 0 and resetting it, or using a
custom nav menu walker that overwrites the `end_el()` method.
It would have been nice to just be able to remove the new line, but I
don't feel like it's severe enough of a problem to add more arguments.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35206#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list