mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-08 01:10:08 +02:00
Set a z-index for the different layers within a page (fixes #15861)
Each layer has an absolute position, hence it induces the creation of some stacking contexts (see https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Positioning/Understanding_z_index/The_stacking_context). Thanks to this feature, we don't have to worry about the z-index used in the annotation layer and how form elements interact with the other layers.
This commit is contained in:
parent
e49dd525b0
commit
c677b167b6
5 changed files with 7 additions and 15 deletions
|
@ -26,6 +26,7 @@
|
|||
text-size-adjust: none;
|
||||
forced-color-adjust: none;
|
||||
transform-origin: 0 0;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.textLayer span,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue