소스 검색

“藏拙"主题tableView样式错误问题

zhuth 7 년 전
부모
커밋
6adbbdfba0
1개의 변경된 파일5개의 추가작업 그리고 6개의 파일을 삭제
  1. 5 6
      src/components/chartDesigner/sections/style/theme/theme2.less

+ 5 - 6
src/components/chartDesigner/sections/style/theme/theme2.less

@@ -38,19 +38,18 @@
         .ant-table-body {
             border: none;
             .ant-table-tbody {
-                tr:nth-child(even) {
-                    background: #253C7E;
+                tr {
                     color: #E9F0F5;
                     td {
+                        background: transparent;
                         border: none;
                     }
                 }
+                tr:nth-child(even) {
+                    background: #253C7E;
+                }
                 tr:nth-child(odd) {
                     background: #182E6F;
-                    color: #E9F0F5;
-                    td {
-                        border: none;
-                    }
                 }
             }
         }