mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2025-12-06 07:12:10 +01:00
Style fixes after 73442a2b6d
This commit is contained in:
parent
2720955478
commit
fc2eb48664
12
css/main.css
12
css/main.css
|
|
@ -429,10 +429,6 @@ div.svelte-362y77>*, div.svelte-362y77>.form>* {
|
|||
margin-left: 5px;
|
||||
}
|
||||
|
||||
.chat-parent.bigchat {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.chat > .messages {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
|
@ -832,10 +828,6 @@ div.svelte-362y77>*, div.svelte-362y77>.form>* {
|
|||
padding: 1rem;
|
||||
}
|
||||
|
||||
#chat-input-row.bigchat {
|
||||
padding-bottom: 1px !important;
|
||||
}
|
||||
|
||||
#chat-col {
|
||||
height: 100dvh;
|
||||
display: flex;
|
||||
|
|
@ -851,10 +843,6 @@ div.svelte-362y77>*, div.svelte-362y77>.form>* {
|
|||
}
|
||||
}
|
||||
|
||||
#chat-col.bigchat {
|
||||
padding-bottom: 15px !important;
|
||||
}
|
||||
|
||||
.message-body ol, .message-body ul {
|
||||
margin-top: 0 !important;
|
||||
margin-bottom: 1.25em !important;
|
||||
|
|
|
|||
|
|
@ -20,12 +20,6 @@ function toggle_controls(value) {
|
|||
extensions.style.display = "inherit";
|
||||
}
|
||||
|
||||
// Remove bigchat classes
|
||||
chatParent.classList.remove("bigchat");
|
||||
document.getElementById("chat-input-row").classList.remove("bigchat");
|
||||
document.getElementById("chat-col").classList.remove("bigchat");
|
||||
document.getElementById("chat-tab").style.paddingBottom = "";
|
||||
|
||||
let gallery_element = document.getElementById("gallery-extension");
|
||||
if (gallery_element) {
|
||||
gallery_element.style.display = "block";
|
||||
|
|
@ -47,11 +41,5 @@ function toggle_controls(value) {
|
|||
if (extensions) {
|
||||
extensions.style.display = "none";
|
||||
}
|
||||
|
||||
// Add bigchat classes
|
||||
chatParent.classList.add("bigchat");
|
||||
document.getElementById("chat-input-row").classList.add("bigchat");
|
||||
document.getElementById("chat-col").classList.add("bigchat");
|
||||
document.getElementById("chat-tab").style.paddingBottom = "0px";
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue