561
edits
Auburnsummer (talk | contribs) No edit summary Tag: Manual revert |
Auburnsummer (talk | contribs) No edit summary |
||
Line 22: | Line 22: | ||
end | end | ||
local span = mw.html.create('span') | local span = mw.html.create('span') | ||
: | :cssText( | ||
position | string.format( | ||
[[ | |||
position: relative; | |||
height: %dpx; | |||
width: %dpx; | |||
overflow: hidden; | |||
display: inline-block; | |||
vertical-align: middle; | |||
]], | |||
cellHeight * ratio, | |||
cellWidth * ratio | |||
) | |||
) | |||
:tag('span') | :tag('span') | ||
:css({ | :css({ |