|
@@ -25,11 +25,11 @@ class TemplateItems extends React.Component {
|
|
this.clear = this.clear.bind(this);
|
|
this.clear = this.clear.bind(this);
|
|
}
|
|
}
|
|
componentDidMount(){
|
|
componentDidMount(){
|
|
- const height = getWindowInnerHeight()-235;
|
|
|
|
|
|
+ const height = getWindowInnerHeight()-216;
|
|
this.$cont.current.style.height = height+"px";
|
|
this.$cont.current.style.height = height+"px";
|
|
windowEventHandler('resize', ()=>{
|
|
windowEventHandler('resize', ()=>{
|
|
if(this.$cont.current){
|
|
if(this.$cont.current){
|
|
- const height = getWindowInnerHeight()-235;
|
|
|
|
|
|
+ const height = getWindowInnerHeight()-216;
|
|
this.$cont.current.style.height = height+"px";
|
|
this.$cont.current.style.height = height+"px";
|
|
}
|
|
}
|
|
});
|
|
});
|