陈帅 6 лет назад
Родитель
Сommit
0d35ae24f4
2 измененных файлов с 2 добавлено и 7 удалено
  1. 1 1
      src/pages/Dashboard/Analysis.js
  2. 1 6
      src/pages/Dashboard/Analysis.less

+ 1 - 1
src/pages/Dashboard/Analysis.js

@@ -149,7 +149,7 @@ class Analysis extends Component {
           />
         </Suspense>
         <div className={styles.twoColLayout}>
-          <Row gutter={24}>
+          <Row gutter={24} type="flex">
             <Col xl={12} lg={24} md={24} sm={24} xs={24}>
               <Suspense fallback={null}>
                 <TopSearch

+ 1 - 6
src/pages/Dashboard/Analysis.less

@@ -139,12 +139,6 @@
   .salesCard {
     height: calc(100% - 24px);
   }
-  :global {
-    .ant-row {
-      display: flex;
-      flex-flow: row nowrap;
-    }
-  }
 }
 
 .trendText {
@@ -165,6 +159,7 @@
     }
   }
 }
+
 @media screen and (max-width: @screen-md) {
   .rankingTitle {
     margin-top: 16px;