„Modul:Pozíciós térkép” változatai közötti eltérés

[ellenőrzött változat][ellenőrzött változat]
Tartalom törölve Tartalom hozzáadva
aNincs szerkesztési összefoglaló
aNincs szerkesztési összefoglaló
230. sor:
builder:cssText('position:absolute; top:' .. distance .. 'px; left:' .. (-label_width / 2) .. 'em; text-align:center; width:' .. label_width .. 'em')
elseif position == 'left' or (tonumber(x) > 70 and position ~= 'right') then -- specified left or autodetected to left
builder:cssText('position:absolute; top:-0.6em5em; right:' .. distance .. 'px; text-align:right; float:right; min-width:' .. label_width .. 'em')
spanCss = 'float:right'
else -- specified right or autodetected to right
builder:cssText('position:relative; top:-0.6em5em; left:' .. distance .. 'px; text-align:left')
spanCss = 'float:left'
end