Style fixes after 73442a2b6d

This commit is contained in:
oobabooga 2025-08-28 20:19:03 -07:00
parent 2720955478
commit fc2eb48664
2 changed files with 0 additions and 24 deletions

View file

@ -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;

View file

@ -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";
}
}