Browse Source

样式兼容性调整

zhuth 6 years ago
parent
commit
1eb2d2e5c0
2 changed files with 8 additions and 3 deletions
  1. 5 3
      src/components/chart/list.less
  2. 3 0
      src/routes/mainLayout.less

+ 5 - 3
src/components/chart/list.less

@@ -7,6 +7,8 @@
             display: flex;
             flex-direction: column;
             &>.ant-card-head {
+                height: 64px;
+                min-height: 64px;
                 padding: 0 10px;
                 .tools {
                     flex: 1;
@@ -58,15 +60,15 @@
                 }
             }
             &>.ant-card-body {
-                &:before {
-                    content: none;
-                }
                 flex: 1;
                 padding: 10px;
                 display: flex;
                 flex-wrap: wrap;
                 justify-content: center;
                 overflow: auto;
+                &:before {
+                    content: none;
+                }
                 &>.chart-body {
                     .chart-card {
                         width: 207px;

+ 3 - 0
src/routes/mainLayout.less

@@ -26,3 +26,6 @@ html,body,#root{
 .ant-input-number {
     width: 100% !important;
 }
+.ant-layout-content {
+    height: 100%;
+}