Selaa lähdekoodia

style: 代码编辑样式优化

From-wh 2 vuotta sitten
vanhempi
commit
1c0810fe9b
1 muutettua tiedostoa jossa 5 lisäystä ja 3 poistoa
  1. 5 3
      template/admin/src/pages/system/codeGeneration/list.vue

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

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