17,273
edits
m (set tabset container width/height to match tabcontainer width/height) |
mNo edit summary |
||
Line 79: | Line 79: | ||
:css( 'margin-left', '-' .. tostring( width + 10 ) .. 'px' ) | :css( 'margin-left', '-' .. tostring( width + 10 ) .. 'px' ) | ||
:wikitext( self.tabsLeft:render() ) | :wikitext( self.tabsLeft:render() ) | ||
if self.args.height then | if self.args.height then left:css( 'height', self.args.height .. 'px' ) end | ||
end | end | ||
Line 87: | Line 87: | ||
:addClass( 'zdw-tabcontainer__tabset--top' ) | :addClass( 'zdw-tabcontainer__tabset--top' ) | ||
:wikitext( self.tabsTop:render() ) | :wikitext( self.tabsTop:render() ) | ||
if self.args.width then top | if self.args.width then top:css( 'width', self.args.width .. 'px' ) end | ||
end | end | ||