georad commited on
Commit
cf8bd39
·
verified ·
1 Parent(s): 76ed696

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -33,14 +33,14 @@ st.markdown("""
33
  /* Adjust this value to be slightly more than the height of the Toolbar/Status bar (the sticky element) */
34
  /* You will likely need to inspect the deployed app to find the exact height of this bar */
35
  [data-testid="stAppViewContainer"] {
36
- padding-top: 50px; /* Estimate height of the second bar (~50px). Adjust after inspection. */
37
  }
38
 
39
  /* Adjust padding for the sidebar content as well */
40
  /* This needs to account for the height of both the topmost bar AND the sticky second bar */
41
  [data-testid="stSidebar"] {
42
  /* Estimate height of topmost bar (~40px) + height of sticky bar (~50px) + default sidebar padding (~1rem) */
43
- padding-top: calc(40px + 50px + 1rem); /* Adjust pixel values after inspection */
44
  }
45
 
46
  /* Ensure the main content block within the container also has correct top padding */
 
33
  /* Adjust this value to be slightly more than the height of the Toolbar/Status bar (the sticky element) */
34
  /* You will likely need to inspect the deployed app to find the exact height of this bar */
35
  [data-testid="stAppViewContainer"] {
36
+ padding-top: 3.75rem; /* Estimate height of the second bar (~50px). Adjust after inspection. */
37
  }
38
 
39
  /* Adjust padding for the sidebar content as well */
40
  /* This needs to account for the height of both the topmost bar AND the sticky second bar */
41
  [data-testid="stSidebar"] {
42
  /* Estimate height of topmost bar (~40px) + height of sticky bar (~50px) + default sidebar padding (~1rem) */
43
+ padding-top: calc(40px + 3.75rem + 1rem); /* Adjust pixel values after inspection */
44
  }
45
 
46
  /* Ensure the main content block within the container also has correct top padding */