Selaa lähdekoodia

perf(components): 优化“环境区域编辑器”组件样式

wangcong 2 kuukautta sitten
vanhempi
sitoutus
83783dd09a
1 muutettua tiedostoa jossa 6 lisäystä ja 2 poistoa
  1. 6 2
      src/views/env-monitor/AreaEditor.vue

+ 6 - 2
src/views/env-monitor/AreaEditor.vue

@@ -19,7 +19,7 @@ defineExpose({
     :mask-closable="false"
     :footer="null"
   >
-    <iframe src="http://localhost:88/"></iframe>
+    <iframe src="http://localhost:88/env-area"></iframe>
   </AModal>
 </template>
 
@@ -27,10 +27,14 @@ defineExpose({
 .env-area-editor-modal {
   padding: 32px;
 
+  .ant-modal {
+    max-width: 1147px;
+  }
+
   .ant-modal,
   .ant-modal > div,
   .ant-modal-content {
-    height: 100%;
+    height: 812px;
   }
 
   .ant-modal-content {