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

allow html

Browse files
Files changed (1) hide show
  1. st_helpers.py +1 -1
st_helpers.py CHANGED
@@ -14,7 +14,7 @@ with open("static/meta.html", 'r', encoding='utf-8') as f:
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
 
14
 
15
 
16
  def make_header():
17
+ st.markdown('<script>document.getElementsByClassName("main").forEach(function(elem) {elem.style.overflow = "scroll"; console.log(elem);});</script>', unsafe_allow_html=True)
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