nikogu пре 8 година
родитељ
комит
62792cc15f
2 измењених фајлова са 7 додато и 1 уклоњено
  1. 1 1
      src/routes/Dashboard/Workplace.js
  2. 6 0
      src/routes/Dashboard/Workplace.less

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

@@ -171,9 +171,9 @@ export default class Workplace extends PureComponent {
               }
             </Card>
             <Card
-              style={{ marginBottom: 24 }}
               bodyStyle={{ padding: 0 }}
               bordered={false}
+              className={styles.activeCard}
               title="动态"
               loading={activitiesLoading}
             >

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

@@ -141,6 +141,9 @@
 }
 
 @media screen and (max-width: @screen-xl)  and (min-width: @screen-lg) {
+  .activeCard {
+    margin-bottom: 24px;
+  }
   .members {
     margin-bottom: 0;
   }
@@ -153,6 +156,9 @@
 }
 
 @media screen and (max-width: @screen-lg) {
+  .activeCard {
+    margin-bottom: 24px;
+  }
   .members {
     margin-bottom: 0;
   }