瀏覽代碼

style(config-template): adjust cards heights and layout

Jacky 5 月之前
父節點
當前提交
ed20dc6353
共有 1 個文件被更改,包括 11 次插入0 次删除
  1. 11 0
      app/src/views/site/ngx_conf/config_template/ConfigTemplate.vue

+ 11 - 0
app/src/views/site/ngx_conf/config_template/ConfigTemplate.vue

@@ -149,4 +149,15 @@ provide('ngx_directives', ngx_directives)
   overflow-y: scroll;
   overflow-x: hidden;
 }
+
+:deep(.ant-col) {
+  height: calc(100% - 16px);
+  .ant-list-item {
+    height: 100%;
+
+    .ant-card {
+      height: 100%;
+    }
+  }
+}
 </style>