Przeglądaj źródła

fixed: https://github.com/ant-design/test2/issues/15

nikogu 8 lat temu
rodzic
commit
b34c2fe3bc

+ 1 - 1
src/routes/Dashboard/Monitor.js

@@ -139,7 +139,7 @@ export default class Monitor extends PureComponent {
             </Card>
           </Col>
           <Col sm={8} xs={24} style={{ marginBottom: 24 }}>
-            <Card title="热门搜索" bordered={false} bodyStyle={{ height: 214 }}>
+            <Card title="热门搜索" bordered={false}>
               <TagCloud
                 data={tags}
                 height={161}

+ 2 - 2
src/routes/Dashboard/Workplace.js

@@ -140,7 +140,7 @@ export default class Workplace extends PureComponent {
         extraContent={pageHeaderExtra}
       >
         <Row gutter={24}>
-          <Col lg={16} md={24} sm={24} xs={24}>
+          <Col xl={16} lg={24} md={24} sm={24} xs={24}>
             <Card
               className={styles.projectList}
               style={{ marginBottom: 24 }}
@@ -198,7 +198,7 @@ export default class Workplace extends PureComponent {
               </List>
             </Card>
           </Col>
-          <Col lg={8} md={24} sm={24} xs={24}>
+          <Col xl={8} lg={24} md={24} sm={24} xs={24}>
             <Card
               style={{ marginBottom: 24 }}
               title="快速开始 / 便捷导航"

+ 7 - 0
src/routes/Dashboard/Workplace.less

@@ -72,6 +72,7 @@
 }
 
 .members {
+  margin-bottom: 35px;
   a {
     display: block;
     margin-bottom: 24px;
@@ -140,6 +141,9 @@
 }
 
 @media screen and (max-width: @screen-xl)  and (min-width: @screen-lg) {
+  .members {
+    margin-bottom: 0;
+  }
   .pageHeaderExtra {
     margin-left: -44px;
     & > div {
@@ -149,6 +153,9 @@
 }
 
 @media screen and (max-width: @screen-lg) {
+  .members {
+    margin-bottom: 0;
+  }
   .pageHeaderExtra {
     & > div {
       padding: 0 16px;