17,230
edits
(coerce some args to table) |
(replace arg vtabwidth with left_width) |
||
Line 71: | Line 71: | ||
if self.tabsLeft then | if self.tabsLeft then | ||
local width = tonumber( self.args. | local width = tonumber( self.args.left and self.args.left.width ) or 60 | ||
container:addClass( 'zdw-tabcontainer--hastabsleft' ) | container:addClass( 'zdw-tabcontainer--hastabsleft' ) | ||
container:css( 'margin-left', tostring( width ) .. 'px' ) | container:css( 'margin-left', tostring( width ) .. 'px' ) |