Procházet zdrojové kódy

style: 代码编辑样式优化

From-wh před 2 roky
rodič
revize
1c0810fe9b

+ 5 - 3
template/admin/src/pages/system/codeGeneration/list.vue

@@ -92,9 +92,9 @@
                 :icon="value.icon"
                 :icon="value.icon"
               >
               >
                 <div
                 <div
-                  :ref="'container_' + value.index"
+                  ref="container"
                   :id="'container_' + value.index"
                   :id="'container_' + value.index"
-                  style="height: 100%; min-height: 560px"
+                  style="height: 100%; min-height: calc(100vh - 110px)"
                 ></div>
                 ></div>
               </TabPane>
               </TabPane>
             </Tabs>
             </Tabs>
@@ -571,7 +571,6 @@ export default {
 
 
   .ivu-tabs-tabpane {
   .ivu-tabs-tabpane {
     min-height: 560px;
     min-height: 560px;
-    height: 73vh;
     margin-top: -1px;
     margin-top: -1px;
   }
   }
 }
 }
@@ -612,4 +611,7 @@ export default {
     z-index: 99;
     z-index: 99;
   }
   }
 }
 }
+.file-box {
+  height: 100%;
+}
 </style>
 </style>