소스 검색

高度计算有误

Luolei 6 년 전
부모
커밋
c4ea615520
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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";