1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-20 15:18:08 +02:00

Use span instead of div in the text layer

This improves copy/pasting text content since it reduces the amount of unnecessary newlines.
This commit is contained in:
PalmerAL 2018-11-18 08:54:08 -06:00 committed by Tim van der Meij
parent 4e3d694451
commit 5f15dc2023
4 changed files with 8 additions and 8 deletions

View file

@ -22,7 +22,7 @@
right: 0;
bottom: 0;
}
.textLayer > div {
.textLayer > span {
position: absolute;
white-space: pre;
-webkit-transform-origin: 0% 0%;