No scrolling when showing the platform

This commit is contained in:
Luis Fernando Molina committed 2018-10-16 10:05:57 +02:00
1 parent 7becc8f6dd
commit d277a1ebd3
2 files changed
+5 -1

No files matched your search

+4
View File
@@ -28,10 +28,14 @@ class Home extends Component {
componentDidMount () {
window.CANVAS_VISIBLE = true
let body = document.getElementById('body')
body.style = 'margin: 0px; padding: 0px; border: 0px; overflow:hidden;'
}
componentWillUnmount () {
window.CANVAS_VISIBLE = false
let body = document.getElementById('body')
body.style = ''
}
render () {