[notes] allow clicking through notes container

If the notes extension is enabled, the container would block clicking the image, including right-clicking to save it
This commit is contained in:
discomrade 2024-02-20 07:22:31 +00:00 committed by Shish
parent d451f164a3
commit a21f6ebf6b

View file

@ -1,5 +1,6 @@
.notes-container { .notes-container {
position: absolute; position: absolute;
pointer-events: none;
} }
.notes-container .note { .notes-container .note {
@ -13,6 +14,7 @@
position: absolute; position: absolute;
opacity: 0.5; opacity: 0.5;
z-index: 1; z-index: 1;
pointer-events: auto;
} }
.notes-container .note.editing { .notes-container .note.editing {
opacity: 1; opacity: 1;
@ -40,6 +42,7 @@
"save cancel" "save cancel"
"delete delete"; "delete delete";
z-index: 4; z-index: 4;
pointer-events: auto;
} }
.notes-container .editor TEXTAREA { .notes-container .editor TEXTAREA {
grid-area: text; grid-area: text;