Selaa lähdekoodia

调整表格样式

outaozhen 4 vuotta sitten
vanhempi
commit
d8887e51c4
2 muutettua tiedostoa jossa 53 lisäystä ja 0 poistoa
  1. 20 0
      css/common.scss
  2. 33 0
      css/variable.scss

+ 20 - 0
css/common.scss

@@ -399,3 +399,23 @@
   overflow: hidden;
   background: white;
 }
+
+// 弹窗左右结构
+.sheet-left-panel{
+  height: 834px;
+  overflow-x: hidden;
+  overflow-y: auto;
+}
+.sheet-right-panel{
+  height: 385px;;
+  overflow-x: hidden;
+  overflow-y: auto;
+}
+.sheet-btns{
+  height: 54px;
+}
+.sheet-panel-record{
+  height: 395px;
+  overflow-x: hidden;
+  overflow-y: auto;
+}

+ 33 - 0
css/variable.scss

@@ -29,3 +29,36 @@ $zh-success:#1dc9b7 !default;
     pointer-events: none;
   }
 }
+
+.auto-scroll-y {
+  height: 100%;
+  .ant-spin-nested-loading,
+  .ant-spin-container,
+  .ant-table,
+  .ant-table-scroll,
+  .ant-table-body-inner,
+  .ant-table-fixed-left,
+  .ant-table-content        {
+    height: 100%;
+  }
+  .ant-table-content {
+    position: relative;
+  }
+  .ant-table-body, .ant-table-body-inner {
+    overflow-y: auto !important;
+  }
+  .ant-table-header {
+    overflow-y: hidden !important;
+  }
+  .ant-table-body {
+    height: 580px;
+    overflow-y: auto;
+  }
+  .ant-table-body-outer {
+    height: 580px;
+    overflow-y: auto;
+  }
+  .ant-table-body-inner {
+    overflow-x: hidden;
+  }
+}