CSS fixes

This commit is contained in:
oobabooga 2023-03-15 16:55:40 -03:00
parent 3047ed8ce3
commit 6a1787a5fe
2 changed files with 1 additions and 4 deletions

View File

@ -1,6 +1,4 @@
document.getElementById("main").style.setProperty("max-width", "800px"); document.getElementById("main").childNodes[0].style = "max-width: 800px; margin-left: auto; margin-right: auto";
document.getElementById("main").style.setProperty("margin-left", "auto");
document.getElementById("main").style.setProperty("margin-right", "auto");
document.getElementById("extensions").style.setProperty("max-width", "800px"); document.getElementById("extensions").style.setProperty("max-width", "800px");
document.getElementById("extensions").style.setProperty("margin-left", "auto"); document.getElementById("extensions").style.setProperty("margin-left", "auto");
document.getElementById("extensions").style.setProperty("margin-right", "auto"); document.getElementById("extensions").style.setProperty("margin-right", "auto");

View File

@ -36,4 +36,3 @@ ol li p, ul li p {
#main, #settings, #chat-settings { #main, #settings, #chat-settings {
border: 0; border: 0;
} }