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:
parent
4e3d694451
commit
5f15dc2023
4 changed files with 8 additions and 8 deletions
|
@ -22,7 +22,7 @@
|
|||
right: 0;
|
||||
bottom: 0;
|
||||
}
|
||||
.textLayer > div {
|
||||
.textLayer > span {
|
||||
position: absolute;
|
||||
white-space: pre;
|
||||
-webkit-transform-origin: 0% 0%;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue