62 737
modifications
mAucun résumé des modifications |
mAucun résumé des modifications |
||
Ligne 14 : | Ligne 14 : | ||
function buildColumns(localdata, prefix) | function buildColumns(localdata, prefix) | ||
local res = mw.html.create( 'div' ) | local res = mw.html.create( 'div' ) | ||
local style = 'display:grid;' | local style = 'display:grid;text-align:left;' | ||
local isFirstColumn = true | local isFirstColumn = true | ||
Ligne 22 : | Ligne 22 : | ||
if isFirstColumn then | if isFirstColumn then | ||
isFirstColumn = false | isFirstColumn = false | ||
style = style .. 'grid-template-columns: | style = style .. 'grid-template-columns:1fr' | ||
else | else | ||
style = style .. ' | style = style .. ' 1fr' | ||
end | end | ||
res :tag( 'div' ) | res :tag( 'div' ) |
modifications