模块:收纳表:修订间差异

跳到导航 跳到搜索
添加96字节 、​ 2022年6月11日 (星期六)
无编辑摘要
(修复一个页面宽度过小时的显示bug)
无编辑摘要
第122行: 第122行:
     local mainDiv = mw.html.create('div')
     local mainDiv = mw.html.create('div')
         :addClass('tabs-container')
         :addClass('tabs-container')
        :css('display', 'flex')


    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))

导航菜单