Explorar el Código

高度计算有误

Luolei hace 6 años
padre
commit
c4ea615520
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/components/EMRContainer/index.jsx

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

@@ -27,7 +27,7 @@ class EMRContainer extends Component {
         this.$cont.current.style.height = height+"px";
         this.$cont.current.style.width = width + "px";
         windowEventHandler('resize', ()=>{
-          const height = getWindowInnerHeight() - 200;
+          const height = getWindowInnerHeight() - 115;
           const width = getWindowInnerWidth() - 480;
           this.$cont.current.style.height = height + "px";
           this.$cont.current.style.width = width + "px";