Fix extra space after 18ca35faaa

This commit is contained in:
oobabooga 2023-12-25 08:38:17 -08:00
parent ae927950a8
commit 02d063fb9f

View File

@ -10,6 +10,7 @@ function toggle_controls(value) {
chatParent.classList.remove("bigchat"); chatParent.classList.remove("bigchat");
document.getElementById("chat-input-row").classList.remove("bigchat"); document.getElementById("chat-input-row").classList.remove("bigchat");
document.getElementById("chat-col").classList.remove("bigchat"); document.getElementById("chat-col").classList.remove("bigchat");
document.getElementById("chat-tab").style.paddingBottom = "";
let gallery_element = document.getElementById('gallery-extension'); let gallery_element = document.getElementById('gallery-extension');
if (gallery_element) { if (gallery_element) {
@ -24,5 +25,6 @@ function toggle_controls(value) {
chatParent.classList.add("bigchat"); chatParent.classList.add("bigchat");
document.getElementById("chat-input-row").classList.add("bigchat"); document.getElementById("chat-input-row").classList.add("bigchat");
document.getElementById("chat-col").classList.add("bigchat"); document.getElementById("chat-col").classList.add("bigchat");
document.getElementById("chat-tab").style.paddingBottom = "0px";
} }
} }