From 8d85425e09718eb6189ae064be4dfd3e7cf4ebd6 Mon Sep 17 00:00:00 2001 From: oobabooga <112222186+oobabooga@users.noreply.github.com> Date: Fri, 15 Sep 2023 21:21:24 -0700 Subject: [PATCH] Increase --chat-buttons height --- css/main.css | 2 +- js/show_controls.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/css/main.css b/css/main.css index 6e684636..ddb41e8e 100644 --- a/css/main.css +++ b/css/main.css @@ -334,7 +334,7 @@ div.svelte-362y77>*, div.svelte-362y77>.form>* { } .chat-parent.old-ui { - height: calc(100dvh - 290px); + height: calc(100dvh - 270px); } .bigchat { diff --git a/js/show_controls.js b/js/show_controls.js index 96a511c1..5df8986b 100644 --- a/js/show_controls.js +++ b/js/show_controls.js @@ -10,7 +10,7 @@ function toggle_controls(value) { chatParent.classList.remove("bigchat"); document.getElementById('stop').parentElement.parentElement.parentElement.style.paddingBottom = isOld ? '0px' : '20px'; - document.getElementById('show-controls').parentNode.parentNode.style.paddingBottom = '115px'; + document.getElementById('show-controls').parentNode.parentNode.style.paddingBottom = isOld ? '95px' : '115px'; } else { belowChatInput.forEach(element => { element.style.display = "none";