We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1959c2 commit 87b84d2Copy full SHA for 87b84d2
css/chat.js
@@ -1,2 +1,6 @@
1
-document.getElementById("main").childNodes[0].style = "max-width: 800px; margin-left: auto; margin-right: auto";
2
-document.getElementById("extensions").style = "max-width: 800px; margin-left: auto; margin-right: auto";
+document.getElementById("main").style.setProperty("max-width", "800px");
+document.getElementById("main").style.setProperty("margin-left", "auto");
3
+document.getElementById("main").style.setProperty("margin-right", "auto");
4
+document.getElementById("extensions").style.setProperty("max-width", "800px");
5
+document.getElementById("extensions").style.setProperty("margin-left", "auto");
6
+document.getElementById("extensions").style.setProperty("margin-right", "auto");
0 commit comments