Sfoglia il codice sorgente

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

Ian Rose 6 anni fa
parent
commit
d99d5f4c94
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  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;