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
|
@ -60,7 +60,7 @@
|
|||
font-size: calc(100px * var(--scale-factor));
|
||||
transform-origin: 0 0;
|
||||
cursor: auto;
|
||||
z-index: 20000;
|
||||
z-index: 4;
|
||||
}
|
||||
|
||||
.annotationEditorLayer.freeTextEditing {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue