mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-11-22 16:17:57 +01:00
UI: Remove header margin on chat tab
This commit is contained in:
parent
0a299d5959
commit
f42074b6c1
@ -91,7 +91,7 @@ div.svelte-15lo0d8 > *, div.svelte-15lo0d8 > .form > * {
|
|||||||
|
|
||||||
.header_bar {
|
.header_bar {
|
||||||
background-color: #f7f7f7;
|
background-color: #f7f7f7;
|
||||||
margin-bottom: 19px;
|
margin-bottom: 0px;
|
||||||
overflow-x: scroll;
|
overflow-x: scroll;
|
||||||
margin-left: calc(-1 * var(--size-4));
|
margin-left: calc(-1 * var(--size-4));
|
||||||
margin-right: calc(-1 * var(--size-4));
|
margin-right: calc(-1 * var(--size-4));
|
||||||
@ -299,6 +299,10 @@ div.svelte-362y77>*, div.svelte-362y77>.form>* {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#chat-tab {
|
||||||
|
padding-top: 0px;
|
||||||
|
}
|
||||||
|
|
||||||
#chat-tab button#Generate, #chat-tab button#stop {
|
#chat-tab button#Generate, #chat-tab button#stop {
|
||||||
width: 89.3438px !important;
|
width: 89.3438px !important;
|
||||||
}
|
}
|
||||||
|
@ -18,9 +18,11 @@ document.querySelector(".header_bar").addEventListener("click", function(event)
|
|||||||
if (chat_visible || notebook_visible || default_visible) {
|
if (chat_visible || notebook_visible || default_visible) {
|
||||||
extensions.style.display = "flex";
|
extensions.style.display = "flex";
|
||||||
if (chat_visible) {
|
if (chat_visible) {
|
||||||
|
this.style.marginBottom = "0px";
|
||||||
extensions.style.maxWidth = "880px";
|
extensions.style.maxWidth = "880px";
|
||||||
extensions.style.padding = "0px";
|
extensions.style.padding = "0px";
|
||||||
} else {
|
} else {
|
||||||
|
this.style.marginBottom = "19px";
|
||||||
extensions.style.maxWidth = "none";
|
extensions.style.maxWidth = "none";
|
||||||
extensions.style.padding = "15px";
|
extensions.style.padding = "15px";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user