justheuristic commited on
Commit
f22f6e1
·
1 Parent(s): 8565080

update css

Browse files
Files changed (1) hide show
  1. st_helpers.py +1 -0
st_helpers.py CHANGED
@@ -14,6 +14,7 @@ with open("static/meta.html", 'r', encoding='utf-8') as f:
14
 
15
 
16
  def make_header():
 
17
  components.html(f"<style>{header_style_css}</style>{header_html}<script>{header_animate_js}</script>", height=260)
18
  st.markdown(meta_html, unsafe_allow_html=True)
19
  st.markdown(f"<style>{content_style_css}</style>", unsafe_allow_html=True) # apply css to the rest of the document
 
14
 
15
 
16
  def make_header():
17
+ st.markdown('<script>document.getElementsByClassName("main").forEach(function(elem) {elem.style.overflow = "scroll"; console.log(elem);});</script>')
18
  components.html(f"<style>{header_style_css}</style>{header_html}<script>{header_animate_js}</script>", height=260)
19
  st.markdown(meta_html, unsafe_allow_html=True)
20
  st.markdown(f"<style>{content_style_css}</style>", unsafe_allow_html=True) # apply css to the rest of the document