Spaces:
Runtime error
Runtime error
yizhangliu
commited on
Commit
•
7c32de8
1
Parent(s):
4235eaa
Update app.py
Browse files
app.py
CHANGED
@@ -81,7 +81,7 @@ start_work = """async() => {
|
|
81 |
window['chat_bot1'].children[1].textContent = '';
|
82 |
|
83 |
clientHeight = getClientHeight();
|
84 |
-
new_height = (clientHeight-
|
85 |
chat_row.style.height = new_height;
|
86 |
window['chat_bot'].style.height = new_height;
|
87 |
window['chat_bot'].children[2].style.height = new_height;
|
|
|
81 |
window['chat_bot1'].children[1].textContent = '';
|
82 |
|
83 |
clientHeight = getClientHeight();
|
84 |
+
new_height = (clientHeight-300) + 'px';
|
85 |
chat_row.style.height = new_height;
|
86 |
window['chat_bot'].style.height = new_height;
|
87 |
window['chat_bot'].children[2].style.height = new_height;
|