Remove unnecessary chat.js (#3445)

This commit is contained in:
missionfloyd 2023-08-03 22:58:37 -06:00 committed by GitHub
parent 4b3384e353
commit 2336b75d92
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 8 deletions

View file

@ -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;

View file

@ -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");