|
@@ -22,12 +22,12 @@ class EMRContainer extends Component {
|
|
|
componentDidMount(){
|
|
|
// const {initHospital} = this.props;
|
|
|
// initHospital()
|
|
|
- const height = getWindowInnerHeight() - 115;
|
|
|
+ const height = getWindowInnerHeight() - 175;
|
|
|
const width = getWindowInnerWidth() - 480;
|
|
|
this.$cont.current.style.height = height+"px";
|
|
|
this.$cont.current.style.width = width + "px";
|
|
|
windowEventHandler('resize', ()=>{
|
|
|
- const height = getWindowInnerHeight() - 115;
|
|
|
+ const height = getWindowInnerHeight() - 175;
|
|
|
const width = getWindowInnerWidth() - 480;
|
|
|
this.$cont.current.style.height = height + "px";
|
|
|
this.$cont.current.style.width = width + "px";
|