Răsfoiți Sursa

add comment

Yuki Takei 2 ani în urmă
părinte
comite
13dc1ce6fe
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 2 2
      packages/remark-drawio/src/components/DrawioViewer.tsx

+ 2 - 2
packages/remark-drawio/src/components/DrawioViewer.tsx

@@ -71,8 +71,8 @@ export const DrawioViewer = memo((props: DrawioViewerProps): JSX.Element => {
         try {
           GraphViewer.useResizeSensor = false;
           GraphViewer.prototype.checkVisibleState = false;
-          GraphViewer.prototype.lightboxZIndex = 1200;
-          GraphViewer.prototype.toolbarZIndex = 1200;
+          GraphViewer.prototype.lightboxZIndex = 1055; // set $zindex-modal
+          GraphViewer.prototype.toolbarZIndex = 1055; // set $zindex-modal
           GraphViewer.createViewerForElement(div);
         }
         catch (err) {