Jelajahi Sumber

高度计算有误

Luolei 6 tahun lalu
induk
melakukan
c4ea615520
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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";