mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-11-22 08:07:56 +01:00
Remove unnecessary chat.js (#3445)
This commit is contained in:
parent
4b3384e353
commit
2336b75d92
@ -26,7 +26,6 @@ div.svelte-362y77>*, div.svelte-362y77>.form>* {
|
||||
|
||||
#extensions {
|
||||
padding: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
#gradio-chatbot {
|
||||
@ -46,6 +45,12 @@ div.svelte-362y77>*, div.svelte-362y77>.form>* {
|
||||
min-width: 0 !important;
|
||||
}
|
||||
|
||||
#main > :first-child, #extensions {
|
||||
max-width: 800px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 688px) {
|
||||
#main {
|
||||
padding: 0px;
|
||||
|
@ -1,4 +0,0 @@
|
||||
document.getElementById("main").childNodes[0].style = "max-width: 800px; margin-left: auto; margin-right: auto";
|
||||
document.getElementById("extensions").style.setProperty("max-width", "800px");
|
||||
document.getElementById("extensions").style.setProperty("margin-left", "auto");
|
||||
document.getElementById("extensions").style.setProperty("margin-right", "auto");
|
@ -13,8 +13,6 @@ with open(Path(__file__).resolve().parent / '../css/chat.css', 'r') as f:
|
||||
chat_css = f.read()
|
||||
with open(Path(__file__).resolve().parent / '../css/main.js', 'r') as f:
|
||||
main_js = f.read()
|
||||
with open(Path(__file__).resolve().parent / '../css/chat.js', 'r') as f:
|
||||
chat_js = f.read()
|
||||
with open(Path(__file__).resolve().parent / '../css/save_files.js', 'r') as f:
|
||||
save_files_js = f.read()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user