Anonymous user
Module:Navbar: Difference between revisions
inherit line height on the ul to override the 1.6 default, so that it doesn't take up 2 lines and cause off-centeredness in navboxes like Template:Grand Armee Corps
Enwikipedia>Jackmcbarn (support collapsible version) |
Enwikipedia>Jackmcbarn (inherit line height on the ul to override the 1.6 default, so that it doesn't take up 2 lines and cause off-centeredness in navboxes like Template:Grand Armee Corps) |
||
Line 99:
end
local ul = div.tag('ul')
.css('line-height', 'inherit'); -- otherwise, the default ul line height makes this take up 2 lines in navboxes, and makes the second line off-center
ul
|