Forráskód Böngészése

高度计算有误

Luolei 6 éve
szülő
commit
c4ea615520
1 módosított fájl, 1 hozzáadás és 1 törlés
  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";