No scrolling when showing the platform
This commit is contained in:
1 parent
7becc8f6dd
commit
d277a1ebd3
2 files changed
+5
-1
No files matched your search
@@ -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 () {
|
||||
|
||||
Reference in new issue
Block a user