Browse Source

Merge branch 'optimize-zxc' into optimize

zhangxc 6 năm trước cách đây
mục cha
commit
ce03e5515c
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      src/components/PushItems/index.jsx

+ 2 - 2
src/components/PushItems/index.jsx

@@ -128,11 +128,11 @@ class PushItems extends Component {
   }
 
   componentDidMount() {
-    const height = getWindowInnerHeight() - 180;
+    const height = getWindowInnerHeight() - 200;
     this.$cont.current.style.height = height + "px";
 
     windowEventHandler('resize', ()=>{
-      const height = getWindowInnerHeight() - 180;
+      const height = getWindowInnerHeight() - 200;
       this.$cont.current.style.height = height + "px";
     });
   }