|
@@ -25,13 +25,13 @@ class EMRContainer extends Component {
|
|
|
const height = getWindowInnerHeight() - 175;
|
|
|
const width = getWindowInnerWidth() - 20;
|
|
|
this.$cont.current.style.height = height+"px";
|
|
|
- this.$cont.current.style.width = width + "px";
|
|
|
+ this.$cont.current.style.minWidth = width + "px";
|
|
|
windowEventHandler('resize', ()=>{
|
|
|
const height = getWindowInnerHeight() - 175;
|
|
|
const width = getWindowInnerWidth() - 20;
|
|
|
if(this.$cont.current){
|
|
|
this.$cont.current.style.height = height + "px";
|
|
|
- this.$cont.current.style.width = width + "px";
|
|
|
+ this.$cont.current.style.minWidth = width + "px";
|
|
|
}
|
|
|
});
|
|
|
}
|