Module:Navbox: Difference between revisions
mNo edit summary |
Height of nested navboxes set to 100% |
||
Line 84: | Line 84: | ||
-- white border matches with that of the header cells. | -- white border matches with that of the header cells. | ||
-- This navbox is meant to be a sub-navbox, placed on a headerless row. | -- This navbox is meant to be a sub-navbox, placed on a headerless row. | ||
navbox = '<div class="wikitable" style="margin:0; border:1px solid white">\n' | navbox = '<div class="wikitable" style="margin:0; height:100%; border:1px solid white">\n' | ||
.. '<table class="mw-collapsible' .. (is_collapsed and ' mw-collapsed ' or '') .. 'nowraplinks" style="width: 100%; border-spacing:0px">\n' | .. '<table class="mw-collapsible' .. (is_collapsed and ' mw-collapsed ' or '') .. 'nowraplinks" style="width: 100%; border-spacing:0px">\n' | ||
.. p.navbox_title(title) | .. p.navbox_title(title) |