UI: Remove header margin on chat tab
This commit is contained in:
parent
0a299d5959
commit
f42074b6c1
2 changed files with 7 additions and 1 deletions
|
@ -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";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue