mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-11-22 16:17:57 +01:00
Reduce chat width
This commit is contained in:
parent
df123a20fc
commit
a821928877
@ -282,7 +282,7 @@ div.svelte-362y77>*, div.svelte-362y77>.form>* {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#chat-tab > :first-child, #extensions {
|
#chat-tab > :first-child, #extensions {
|
||||||
max-width: 960px;
|
max-width: 880px;
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
}
|
}
|
||||||
@ -304,7 +304,7 @@ div.svelte-362y77>*, div.svelte-362y77>.form>* {
|
|||||||
.chat {
|
.chat {
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
max-width: 960px;
|
max-width: 880px;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
padding-right: 15px;
|
padding-right: 15px;
|
||||||
|
@ -18,7 +18,7 @@ document.querySelector('.header_bar').addEventListener('click', function(event)
|
|||||||
if (chat_visible || notebook_visible || default_visible) {
|
if (chat_visible || notebook_visible || default_visible) {
|
||||||
extensions.style.display = 'flex';
|
extensions.style.display = 'flex';
|
||||||
if (chat_visible) {
|
if (chat_visible) {
|
||||||
extensions.style.maxWidth = "960px";
|
extensions.style.maxWidth = "880px";
|
||||||
extensions.style.padding = "0px";
|
extensions.style.padding = "0px";
|
||||||
} else {
|
} else {
|
||||||
extensions.style.maxWidth = "none";
|
extensions.style.maxWidth = "none";
|
||||||
|
Loading…
Reference in New Issue
Block a user