Yuki Takei %!s(int64=2) %!d(string=hai) anos
pai
achega
13dc1ce6fe
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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) {