georad commited on
Commit
8187d27
·
verified ·
1 Parent(s): 50133ea

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -5
app.py CHANGED
@@ -6,11 +6,10 @@ st.sidebar.title("SBS V2.0 mapper")
6
  st.sidebar.subheader("(work in progress)")
7
  st.sidebar.text("Demo by JA-RAD")
8
 
9
-
10
  st.markdown(
11
  """
12
  <style>
13
- div[data-testid="stAppViewContainer"] > div:first-child {
14
  position: fixed;
15
  top: 0;
16
  left: 0;
@@ -29,10 +28,9 @@ st.title("SBS Mapper") # Keep your title here
29
 
30
  # Your Streamlit app content below this line
31
  st.markdown("## Welcome to the SBS Mapper App!")
32
- st.write("Scroll down to see if the header sticks now.")
33
  for i in range(50):
34
- st.write(f"Some content: {i}")
35
-
36
 
37
  # --- PAGE SETUP ---
38
  type_text_page = st.Page(
 
6
  st.sidebar.subheader("(work in progress)")
7
  st.sidebar.text("Demo by JA-RAD")
8
 
 
9
  st.markdown(
10
  """
11
  <style>
12
+ div[data-testid="stAppViewContainer"] > div:first-child > div[data-testid="stHeadingWithActionElements"] {
13
  position: fixed;
14
  top: 0;
15
  left: 0;
 
28
 
29
  # Your Streamlit app content below this line
30
  st.markdown("## Welcome to the SBS Mapper App!")
31
+ st.write("Trying again to make the header sticky on Hugging Face...")
32
  for i in range(50):
33
+ st.write(f"More content: {i}")
 
34
 
35
  # --- PAGE SETUP ---
36
  type_text_page = st.Page(