Module:Navbar: Difference between revisions
Content added Content deleted
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) |
Enwikipedia>Edokter (No longer needed; moved fix to Common.css.) |
||
Line 99: | Line 99: | ||
end |
end |
||
local ul = div.tag('ul') |
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 |
ul |