463
个编辑
小 (修复一个页面宽度过小时的显示bug) |
小无编辑摘要 |
||
第122行: | 第122行: | ||
local mainDiv = mw.html.create('div') | local mainDiv = mw.html.create('div') | ||
:addClass('tabs-container') | :addClass('tabs-container') | ||
if args['textDisplay'] == 'left' or args['textDisplay'] == 'right' then | |||
mainDiv:css('display', 'flex') | |||
end | |||
if args['textDisplay'] == 'top' or args['textDisplay'] == 'left' then | if args['textDisplay'] == 'top' or args['textDisplay'] == 'left' then | ||
mainDiv:node(renderContent(tabIndices, args)) | mainDiv:node(renderContent(tabIndices, args)) |