Module:Inventory slot: Difference between revisions

m
Made number position more accurate
imported>Ttv pedro270707
mNo edit summary
imported>Ttv pedro270707
m (Made number position more accurate)
Line 90: Line 90:
if count then
if count then
local itemCount = mw.html.create( "span" )
local itemCount = mw.html.create( "span" )
itemCount:cssText( "position: absolute; right: -2px; bottom: -5px; pointer-events: none;" )
itemCount:cssText( "position: absolute; right: -2px; bottom: -4px; pointer-events: none;" )
:addClass( "c-f" )
:addClass( "c-f" )
:addClass( "shadow" )
:addClass( "shadow" )