Module:Chart: Difference between revisions

Content deleted Content added
m Changed protection settings for "Module:Chart": High-risk template or module: 2578 transclusions (more info) ([Edit=Require extended confirmed access] (indefinite) [Move=Require extended confirmed access] (indefinite))
Hopefully fix problems caused by wikipedia-wide changes that added overflow:auto settings to all pages that caused chart clipping and chart scrollbars
Line 48:
table.insert( tab,
mw.text.tag( 'ul',
{style="width:100%;list-style:none;column-width:12em;"},
table.concat( list, '\n' )
)
Line 412:
 
local function drawChart()
table.insert( res, mw.text.tag( 'div', { class = 'chart noresize', style = string.format( 'padding-top:10px;margin-top:1em;max-width:%spx;', width ) } ) )
table.insert( res, mw.text.tag( 'div', { style = string.format("position:relative;min-height:%spx;min-width:%spx;max-width:%spx;", height, width, width ) } ) )