Skip to content
Snippets Groups Projects
Unverified Commit b9d40a90 authored by Alexander Polyankin's avatar Alexander Polyankin Committed by GitHub
Browse files

Fix removing spread class from App (#24350)

parent 995cc80b
No related branches found
No related tags found
No related merge requests found
......@@ -38,14 +38,14 @@ function fitViewport(ComposedComponent) {
componentDidMount() {
const root = document.getElementById("root");
if (root && root.firstChild) {
root.firstChild.classList.add("spread", "flex", "flex-column");
root.firstChild.classList.add("flex", "flex-column");
}
}
componentWillUnmount() {
const root = document.getElementById("root");
if (root && root.firstChild) {
root.firstChild.classList.remove("spread", "flex", "flex-column");
root.firstChild.classList.remove("flex", "flex-column");
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment