mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-08 09:20:06 +02:00
Prevent mobile devices from interfering with the textLayer-elements (issue 14243)
*This is a tentative patch, since I don't have the necessary hardware to test it.* See https://developer.mozilla.org/en-US/docs/Web/CSS/text-size-adjust, which is currently ignored in Firefox. It seems overall safer, and more future-proof, to simply add this to the *entire* `textLayer` rather than its individual elements.
This commit is contained in:
parent
38efd13a54
commit
12d41bcba4
1 changed files with 1 additions and 0 deletions
|
@ -23,6 +23,7 @@
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
opacity: 0.2;
|
opacity: 0.2;
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
|
text-size-adjust: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.textLayer span,
|
.textLayer span,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue