Преглед изворни кода

Merge remote-tracking branch 'origin/dev5.4.1' into CommonTemplate

zhouna пре 5 година
родитељ
комит
3be86e4c65
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/components/TemplateItems/index.jsx

+ 1 - 1
src/components/TemplateItems/index.jsx

@@ -26,7 +26,7 @@ class TemplateItems extends React.Component {
     }  
     componentDidMount(){
         const height = getWindowInnerHeight()-195;
-        this.$cont.current.style.height = height/2+"px";
+        this.$cont.current.style.height = height+"px";
         windowEventHandler('resize', ()=>{
             if(this.$cont.current){
                 const height = getWindowInnerHeight()-195;