1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-20 15:18:08 +02:00

[Editor] Make editor toolbars usable whatever their z-index (bug 1879104)

Because of editor z-index, the toolbar belonging to an highlight created
before a second adjacent one, can be overlapped by this new one.
So when the user select an editor we just show it on front of all the other
ones to make sure that it can be used normally.
This commit is contained in:
Calixte Denizet 2024-07-11 18:00:36 +02:00
parent 9b1b5ff7e7
commit 9a64749dbe
3 changed files with 113 additions and 26 deletions

View file

@ -112,6 +112,10 @@
font-size: calc(100px * var(--scale-factor));
transform-origin: 0 0;
cursor: auto;
.selectedEditor {
z-index: 100000 !important;
}
}
.annotationEditorLayer.waiting {