Explorar o código

Fix z-indices for iframe drag hack so invisible div takes priority.

Ian Rose %!s(int64=6) %!d(string=hai) anos
pai
achega
d99d5f4c94
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      packages/pdf-extension/style/index.css

+ 2 - 0
packages/pdf-extension/style/index.css

@@ -5,6 +5,7 @@
 
 .jp-PDFContainer iframe {
   position: absolute;
+  z-index: 0;
   top: 0;
   right: 0;
   width: 100%;
@@ -27,6 +28,7 @@ body.p-mod-override-cursor .jp-PDFContainer {
 body.p-mod-override-cursor .jp-PDFContainer:before {
   content: '';
   position: absolute;
+  z-index: 10;
   top: 0;
   left: 0;
   right: 0;