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:
parent
26954a3bf2
commit
bf30ca0252
1 changed files with 6 additions and 0 deletions
|
@ -53,6 +53,12 @@ body.items-show
|
||||||
position: absolute
|
position: absolute
|
||||||
inset: 0
|
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
|
img, iframe
|
||||||
width: 100%
|
width: 100%
|
||||||
height: 100%
|
height: 100%
|
||||||
|
|
Loading…
Reference in a new issue