Prechádzať zdrojové kódy

失效矩阵/功能矩阵右侧表头多余空白
+接口矩阵:右侧表头多余空白,左侧列与内容对不齐

zhoushiyue 1 týždeň pred
rodič
commit
9f48c2c010

+ 7 - 0
src/views/fmeaTree/components/TopBtnModal/FailureMatrixModal.vue

@@ -747,6 +747,13 @@ export default {
   overflow: hidden !important
 }
 
+/deep/ .ant-table-fixed-header .ant-table-scroll .ant-table-header {
+  overflow: hidden !important;
+  margin-bottom: 0 !important;
+  padding-right: 8px;
+  background: rgb(250, 250, 250);
+}
+
 /*/deep/ .ant-modal-close-x {
   font-size: 40px;
   color: white;

+ 7 - 0
src/views/fmeaTree/components/TopBtnModal/FunctionMatrixModal.vue

@@ -554,4 +554,11 @@ export default {
   }
 }
 
+/deep/ .ant-table-fixed-header .ant-table-scroll .ant-table-header {
+  overflow: hidden !important;
+  margin-bottom: 0 !important;
+  padding-right: 8px;
+  background: rgb(250, 250, 250);
+}
+
 </style>

+ 6 - 0
src/views/fmeaTree/components/TopBtnModal/InterfaceMatrixModal.vue

@@ -585,4 +585,10 @@ export default {
 .clickable-description:hover {
   color: #1890FF; /* 悬停时变为蓝色 */
 }
+/deep/ .ant-table-fixed-header .ant-table-scroll .ant-table-header {
+  overflow: hidden !important;
+  margin-bottom: 0 !important;
+  padding-right: 8px;
+  background: rgb(225, 239, 218);
+}
 </style>