[Editor] Make sure to have the annotation editor layer on top of the annotation one (bug 1791515)
Some z-index have been added in the annotation layer because the elements inside are re-ordered in order to improve accessibility. Hence we must add a "high" z-index on the annotation editor layer in order to avoid any bad interaction between the different layers.
This commit is contained in:
parent
e5fc7cf4bd
commit
3b536f2701
@ -53,6 +53,7 @@
|
|||||||
font-size: calc(100px * var(--scale-factor));
|
font-size: calc(100px * var(--scale-factor));
|
||||||
transform-origin: 0 0;
|
transform-origin: 0 0;
|
||||||
cursor: auto;
|
cursor: auto;
|
||||||
|
z-index: 20000;
|
||||||
}
|
}
|
||||||
|
|
||||||
.annotationEditorLayer.freeTextEditing {
|
.annotationEditorLayer.freeTextEditing {
|
||||||
|
@ -449,7 +449,7 @@ body {
|
|||||||
.editorParamsToolbar {
|
.editorParamsToolbar {
|
||||||
top: 32px;
|
top: 32px;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
z-index: 10000;
|
z-index: 30000;
|
||||||
height: auto;
|
height: auto;
|
||||||
padding: 0 4px;
|
padding: 0 4px;
|
||||||
margin: 4px 2px;
|
margin: 4px 2px;
|
||||||
@ -523,7 +523,6 @@ body {
|
|||||||
padding: 6px 0 10px;
|
padding: 6px 0 10px;
|
||||||
inset-inline-end: 4px;
|
inset-inline-end: 4px;
|
||||||
height: auto;
|
height: auto;
|
||||||
z-index: 30000;
|
|
||||||
background-color: var(--doorhanger-bg-color);
|
background-color: var(--doorhanger-bg-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user