UI: Remove header margin on chat tab

This commit is contained in:
Lounger 2023-12-19 23:27:11 +01:00
parent 0a299d5959
commit f42074b6c1
2 changed files with 7 additions and 1 deletions

View file

@ -18,9 +18,11 @@ document.querySelector(".header_bar").addEventListener("click", function(event)
if (chat_visible || notebook_visible || default_visible) {
extensions.style.display = "flex";
if (chat_visible) {
this.style.marginBottom = "0px";
extensions.style.maxWidth = "880px";
extensions.style.padding = "0px";
} else {
this.style.marginBottom = "19px";
extensions.style.maxWidth = "none";
extensions.style.padding = "15px";
}