Update pages/home.py
Browse files- pages/home.py +1 -1
pages/home.py
CHANGED
@@ -69,7 +69,7 @@ def scrollToBottom():
|
|
69 |
// - A div directly containing your dynamic content (check its class or ID)
|
70 |
// *** REPLACE THE SELECTOR BELOW with the correct one you found by inspecting your app's HTML ***
|
71 |
// Use document.querySelector('.your-class-name') for a class, or document.getElementById('your-id') for an ID.
|
72 |
-
const scrollableContainer = document.querySelector('.
|
73 |
// const scrollableContainer = document.getElementById('stMainBlockContainer'); // <--- REPLACE THIS ENTIRE LINE IF USING querySelector
|
74 |
if (scrollableContainer) {
|
75 |
console.log("Scrollable container found. Scrolling...");
|
|
|
69 |
// - A div directly containing your dynamic content (check its class or ID)
|
70 |
// *** REPLACE THE SELECTOR BELOW with the correct one you found by inspecting your app's HTML ***
|
71 |
// Use document.querySelector('.your-class-name') for a class, or document.getElementById('your-id') for an ID.
|
72 |
+
const scrollableContainer = document.querySelector('.flex flex-1 flex-col'); // <--- REPLACE THIS ENTIRE LINE IF USING getElementById
|
73 |
// const scrollableContainer = document.getElementById('stMainBlockContainer'); // <--- REPLACE THIS ENTIRE LINE IF USING querySelector
|
74 |
if (scrollableContainer) {
|
75 |
console.log("Scrollable container found. Scrolling...");
|