Update pages/type_text.py
Browse files- pages/type_text.py +1 -1
pages/type_text.py
CHANGED
|
@@ -42,7 +42,7 @@ def scrollToBottom():
|
|
| 42 |
// Once you've found the correct container div,
|
| 43 |
// note its class names (e.g., class="some-streamlit-class another-class") or its ID (e.g., id="some-id").
|
| 44 |
// *** REPLACE THE SELECTOR BELOW with the correct one you found by inspecting your app's HTML ***
|
| 45 |
-
const scrollableContainer = document.querySelector("flex
|
| 46 |
#const scrollableContainer = document.getElementById('your-container-id')); // <--- REPLACE THIS SELECTOR
|
| 47 |
|
| 48 |
if (scrollableContainer) {
|
|
|
|
| 42 |
// Once you've found the correct container div,
|
| 43 |
// note its class names (e.g., class="some-streamlit-class another-class") or its ID (e.g., id="some-id").
|
| 44 |
// *** REPLACE THE SELECTOR BELOW with the correct one you found by inspecting your app's HTML ***
|
| 45 |
+
const scrollableContainer = document.querySelector("flex flex-1 flex-col"); // <--- REPLACE THIS SELECTOR
|
| 46 |
#const scrollableContainer = document.getElementById('your-container-id')); // <--- REPLACE THIS SELECTOR
|
| 47 |
|
| 48 |
if (scrollableContainer) {
|