Преглед на файлове

Merge branch 'optimize-zxc' into optimize

zhangxc преди 6 години
родител
ревизия
ce03e5515c
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  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";
     });
   }