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:
Calixte Denizet 2022-12-22 21:55:25 +01:00
parent e49dd525b0
commit c677b167b6
5 changed files with 7 additions and 15 deletions

View file

@ -44,6 +44,7 @@
left: 0;
pointer-events: none;
transform-origin: 0 0;
z-index: 3;
}
.annotationLayer section {