„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ó
227. sor:
local spanCss
if position == 'top' then -- specified top
builder:cssText('position:absolute; bottom:' .. distance .. 'px; left:' .. (-label_width / 2) .. 'em; text-align:center; min-width:' .. label_width .. 'em')
elseif position == 'bottom' then -- specified bottom
builder:cssText('position:absolute; top:' .. distance .. 'px; left:' .. (-label_width / 2) .. 'em; text-align:center; min-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.7em; right:' .. distance .. 'px; text-align:right; float:right; min-width:' .. label_width .. 'em')