Remove some scrolling

This commit is contained in:
Arunoda Susiripala 2016-03-24 23:57:06 +05:30
parent 25449fc3d7
commit 977d9fa18e
2 changed files with 2 additions and 2 deletions

View File

@ -113,7 +113,7 @@ var Layout = function (_React$Component) {
var body = _document.body;
var height = documentElement.clientHeight || body.clientHeight;
height -= 15;
height -= 20;
this.setState({ height: height });
}
}]);

View File

@ -58,7 +58,7 @@ class Layout extends React.Component {
updateHeight() {
const {documentElement, body} = document;
let height = documentElement.clientHeight|| body.clientHeight;
height -= 15;
height -= 20;
this.setState({height});
}
}