Update app.py
Browse files
app.py
CHANGED
@@ -25,8 +25,8 @@ HEADER_SELECTOR = 'header[data-testid="stHeader"]'
|
|
25 |
# Alternative if the above doesn't work or if your content is further nested:
|
26 |
#MAIN_CONTENT_SELECTOR = 'section[data-testid="stAppViewContainer"] .main-content-wrapper-class'
|
27 |
# Or, very commonly, Streamlit wraps main content in a div with class "block-container":
|
28 |
-
MAIN_CONTENT_SELECTOR = 'section[data-testid="stAppViewContainer"] .block-container'
|
29 |
-
|
30 |
|
31 |
custom_css = f"""
|
32 |
<style>
|
|
|
25 |
# Alternative if the above doesn't work or if your content is further nested:
|
26 |
#MAIN_CONTENT_SELECTOR = 'section[data-testid="stAppViewContainer"] .main-content-wrapper-class'
|
27 |
# Or, very commonly, Streamlit wraps main content in a div with class "block-container":
|
28 |
+
#MAIN_CONTENT_SELECTOR = 'section[data-testid="stAppViewContainer"] .block-container'
|
29 |
+
MAIN_CONTENT_SELECTOR = '.main .block-container' # A more general selector for block-container
|
30 |
|
31 |
custom_css = f"""
|
32 |
<style>
|