Browse Source

fix #4119 ,use row flex

pull/4164/head
陈帅 7 years ago
parent
commit
0d35ae24f4
  1. 2
      src/pages/Dashboard/Analysis.js
  2. 7
      src/pages/Dashboard/Analysis.less

2
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

7
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;

Loading…
Cancel
Save