Просмотр исходного кода

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

Jacky 5 месяцев назад
Родитель
Сommit
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>