Reduce chat width

This commit is contained in:
oobabooga 2023-09-12 10:26:43 -07:00
parent df123a20fc
commit a821928877
2 changed files with 3 additions and 3 deletions

View File

@ -282,7 +282,7 @@ div.svelte-362y77>*, div.svelte-362y77>.form>* {
}
#chat-tab > :first-child, #extensions {
max-width: 960px;
max-width: 880px;
margin-left: auto;
margin-right: auto;
}
@ -304,7 +304,7 @@ div.svelte-362y77>*, div.svelte-362y77>.form>* {
.chat {
margin-left: auto;
margin-right: auto;
max-width: 960px;
max-width: 880px;
height: 100%;
overflow-y: auto;
padding-right: 15px;

View File

@ -18,7 +18,7 @@ document.querySelector('.header_bar').addEventListener('click', function(event)
if (chat_visible || notebook_visible || default_visible) {
extensions.style.display = 'flex';
if (chat_visible) {
extensions.style.maxWidth = "960px";
extensions.style.maxWidth = "880px";
extensions.style.padding = "0px";
} else {
extensions.style.maxWidth = "none";