georad commited on
Commit
0f2c708
·
verified ·
1 Parent(s): 634ab03

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -21,7 +21,7 @@ HEADER_SELECTOR = 'header[data-testid="stHeader"]'
21
  # ---- SELECTOR FOR THE MAIN CONTENT AREA THAT NEEDS PADDING ----
22
  # This targets the first direct div child of the stAppViewContainer,
23
  # which often holds the main scrollable content.
24
- MAIN_CONTENT_SELECTOR = 'section[data-testid="stMainBlockContainer"] > div:nth-child(1)'
25
  #MAIN_CONTENT_SELECTOR = 'section[data-testid="stAppViewContainer"] > div:nth-child(1)'
26
  # Alternative if the above doesn't work or if your content is further nested:
27
  #MAIN_CONTENT_SELECTOR = 'section[data-testid="stAppViewContainer"] .main-content-wrapper-class'
 
21
  # ---- SELECTOR FOR THE MAIN CONTENT AREA THAT NEEDS PADDING ----
22
  # This targets the first direct div child of the stAppViewContainer,
23
  # which often holds the main scrollable content.
24
+ MAIN_CONTENT_SELECTOR = 'section[data-testid="stMain"] > div:nth-child(1)'
25
  #MAIN_CONTENT_SELECTOR = 'section[data-testid="stAppViewContainer"] > div:nth-child(1)'
26
  # Alternative if the above doesn't work or if your content is further nested:
27
  #MAIN_CONTENT_SELECTOR = 'section[data-testid="stAppViewContainer"] .main-content-wrapper-class'