georad commited on
Commit
5c61a4a
·
verified ·
1 Parent(s): 3a82c15

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -57,7 +57,7 @@ st.title("My App with Sticky Header")
57
 
58
  # Option 2: Custom sticky header implementation
59
  # Uncomment and use this approach if the CSS-only solution doesn't work
60
- """
61
  # Custom sticky header container
62
  st.markdown('<div class="sticky-header">', unsafe_allow_html=True)
63
  st.title("My App with Custom Sticky Header")
@@ -66,7 +66,7 @@ st.markdown('</div>', unsafe_allow_html=True)
66
 
67
  # Add spacer to ensure content isn't hidden under the header
68
  st.markdown('<div class="sticky-header-spacer"></div>', unsafe_allow_html=True)
69
- """
70
 
71
  # Rest of your app
72
  st.write("Scroll down to test the sticky header")
 
57
 
58
  # Option 2: Custom sticky header implementation
59
  # Uncomment and use this approach if the CSS-only solution doesn't work
60
+
61
  # Custom sticky header container
62
  st.markdown('<div class="sticky-header">', unsafe_allow_html=True)
63
  st.title("My App with Custom Sticky Header")
 
66
 
67
  # Add spacer to ensure content isn't hidden under the header
68
  st.markdown('<div class="sticky-header-spacer"></div>', unsafe_allow_html=True)
69
+
70
 
71
  # Rest of your app
72
  st.write("Scroll down to test the sticky header")