1
0
Fork 0
forked from OpenNeo/impress

Fix loading cursor bug for new item page preview

Specifically, if a movie layer was the top layer, the `cursor: wait` on
the preview wouldn't show, because the iframe's *contents* would take
priority, and they were using the default cursor.
This commit is contained in:
Emi Matchu 2024-07-08 17:24:18 -07:00
parent 26954a3bf2
commit bf30ca0252

View file

@ -53,6 +53,12 @@ body.items-show
position: absolute
inset: 0
// We disable pointer-events most importantly for the iframes, which
// will ignore our `cursor: wait` and show a plain cursor for the
// inside of its own document. But also, the context menus for these
// elements are kinda actively misleading, too!
pointer-events: none
img, iframe
width: 100%
height: 100%