소스 검색

put the diagram center

Yuki Takei 3 년 전
부모
커밋
8c1cd2655c
1개의 변경된 파일7개의 추가작업 그리고 0개의 파일을 삭제
  1. 7 0
      packages/remark-drawio-plugin/src/components/DrawioViewer.module.scss

+ 7 - 0
packages/remark-drawio-plugin/src/components/DrawioViewer.module.scss

@@ -2,4 +2,11 @@
   margin: 20px 0;
   border: 1px solid transparent;
   border-radius: 4px;
+
+  .geDiagramContainer {
+    // centering
+    margin-right: auto;
+    margin-left: auto;
+  }
+
 }