|
@@ -32,18 +32,18 @@ class BlockEMRCont extends Component {
|
|
|
this.setHighter = this.setHighter.bind(this);
|
|
|
}
|
|
|
componentDidMount(){
|
|
|
- const height = getWindowInnerHeight() - 175;
|
|
|
- const width = getWindowInnerWidth() - 20;
|
|
|
- this.$cont.current.style.height = height+"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.minWidth = width + "px";
|
|
|
- }
|
|
|
- });
|
|
|
+ // const height = getWindowInnerHeight() - 175;
|
|
|
+ // const width = getWindowInnerWidth() - 20;
|
|
|
+ // this.$cont.current.style.height = height+"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.minWidth = width + "px";
|
|
|
+ // }
|
|
|
+ // });
|
|
|
}
|
|
|
|
|
|
componentWillReceiveProps(nextProps) {
|