Remove position: absolute from text divs.

It's not necessary in each text div, because it's specified in the
`.textLayer > div` rule.
This commit is contained in:
Nicholas Nethercote 2014-08-15 08:17:20 -07:00
parent 0e4d9061b2
commit 9695958ebc

View File

@ -150,7 +150,6 @@ var TextLayerBuilder = (function TextLayerBuilderClosure() {
left = tx[4] + (fontAscent * Math.sin(angle));
top = tx[5] - (fontAscent * Math.cos(angle));
}
textDiv.style.position = 'absolute';
textDiv.style.left = left + 'px';
textDiv.style.top = top + 'px';
textDiv.style.fontSize = fontHeight + 'px';