Content deleted Content added
resync |
add base templatestyles |
||
Line 804:
end
local lock_height = (head_br.count or 0) + 1
local templatestyles = frame:extensionTag{ name = 'templatestyles', args = { src = 'Module:RoundN/styles.css'} }
return templatestyles .. args.scroll_height and
mw.html.create'div'
:addClass'tbr-scroller'
:node(not (p.scroll_head_unlock or p.no_column_head) and mw.html.create'div'
:addClass'tbr-scroller-head'
:css{
-- figure out if this is needed
height = lock_height * 1.4 + 1.6 .. 'em',
}
:node(mw.clone(tab))
)
:tag'div'
:addClass'tbr-scroller-body'
:css{
['max-height'] = tonumber(args.scroll_height, 10) and args.scroll_height .. 'px' or args.scroll_height
}
|