Module:Infobox: Difference between revisions

more padding, smaller font size
90% -> 95%
Line 58: Line 58:
:css('padding', '4px 6px')
:css('padding', '4px 6px')
:css('margin', '8px 0px')
:css('margin', '8px 0px')
:css('font-size', '90%')
:css('font-size', '95%')
:wikitext(header)
:wikitext(header)
elseif data and data ~= '' then
elseif data and data ~= '' then
Line 72: Line 72:
end
end
row:tag('td')
row:tag('td')
:css('font-size', '90%')
:css('font-size', '95%')
:css('padding', '2px 6px 2px 6px')
:css('padding', '2px 6px 2px 6px')
:attr('colspan', (label and label ~= '') and '1' or '2')
:attr('colspan', (label and label ~= '') and '1' or '2')