From 6a1787a5fee69c2c692dc6a333229d9ba8374348 Mon Sep 17 00:00:00 2001 From: oobabooga <112222186+oobabooga@users.noreply.github.com> Date: Wed, 15 Mar 2023 16:55:40 -0300 Subject: [PATCH] CSS fixes --- css/chat.js | 4 +--- css/main.css | 1 - 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/css/chat.js b/css/chat.js index cbdcf91e..e304f125 100644 --- a/css/chat.js +++ b/css/chat.js @@ -1,6 +1,4 @@ -document.getElementById("main").style.setProperty("max-width", "800px"); -document.getElementById("main").style.setProperty("margin-left", "auto"); -document.getElementById("main").style.setProperty("margin-right", "auto"); +document.getElementById("main").childNodes[0].style = "max-width: 800px; margin-left: auto; margin-right: auto"; document.getElementById("extensions").style.setProperty("max-width", "800px"); document.getElementById("extensions").style.setProperty("margin-left", "auto"); document.getElementById("extensions").style.setProperty("margin-right", "auto"); diff --git a/css/main.css b/css/main.css index ca076d28..8c5f156e 100644 --- a/css/main.css +++ b/css/main.css @@ -36,4 +36,3 @@ ol li p, ul li p { #main, #settings, #chat-settings { border: 0; } -