mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 23:28:06 +02:00
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:
parent
0e4d9061b2
commit
9695958ebc
1 changed files with 0 additions and 1 deletions
|
@ -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';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue