13,398
edits
No edit summary |
No edit summary |
||
Line 318: | Line 318: | ||
elseif position == 'bottom' then -- specified bottom | elseif position == 'bottom' then -- specified bottom | ||
builder:addClass('pv'):cssText('top:' .. distance .. 'px;left:' .. (-label_width / 2) .. 'em') | builder:addClass('pv'):cssText('top:' .. distance .. 'px;left:' .. (-label_width / 2) .. 'em') | ||
else -- specified right or autodetected to right | else -- specified right or autodetected to right | ||
builder:addClass('pr'):cssText('left:' .. distance .. 'px') | builder:addClass('pr'):cssText('left:' .. distance .. 'px') |
edits