Update app.py
Browse files
app.py
CHANGED
@@ -9,8 +9,8 @@ HEADER_SELECTOR = 'header[data-testid="stHeader"]'
|
|
9 |
# ---- SELECTOR FOR THE MAIN CONTENT AREA THAT NEEDS PADDING ----
|
10 |
# This targets the first direct div child of the stAppViewContainer,
|
11 |
# which often holds the main scrollable content.
|
12 |
-
|
13 |
-
MAIN_CONTENT_SELECTOR = 'section[data-testid="
|
14 |
#MAIN_CONTENT_SELECTOR = 'section[data-testid="stMain"] > div:nth-child(1)'
|
15 |
#MAIN_CONTENT_SELECTOR = 'section[data-testid="stAppViewContainer"] > div:nth-child(1)'
|
16 |
# Alternative if the above doesn't work or if your content is further nested:
|
|
|
9 |
# ---- SELECTOR FOR THE MAIN CONTENT AREA THAT NEEDS PADDING ----
|
10 |
# This targets the first direct div child of the stAppViewContainer,
|
11 |
# which often holds the main scrollable content.
|
12 |
+
MAIN_CONTENT_SELECTOR = 'section[data-testid="stApp"]'
|
13 |
+
#MAIN_CONTENT_SELECTOR = 'section[data-testid="stMain"]'
|
14 |
#MAIN_CONTENT_SELECTOR = 'section[data-testid="stMain"] > div:nth-child(1)'
|
15 |
#MAIN_CONTENT_SELECTOR = 'section[data-testid="stAppViewContainer"] > div:nth-child(1)'
|
16 |
# Alternative if the above doesn't work or if your content is further nested:
|