FoodQast / theme.py
Silverxwolf's picture
Upload 12 files
ca8bb53
Raw History Blame Contribute Delete
632 Bytes
import streamlit as st
def set_theme():
_remove_watermark()
_table_style()
def _remove_watermark():
hide_streamlit_style = """
<style>
#MainMenu {visibility: hidden;}
footer {visibility: hidden;}
</style>
"""
st.markdown(hide_streamlit_style, unsafe_allow_html=True)
def _table_style():
hide_table_row_index = """
<style>
thead tr th:first-child {display:none}
tbody th {display:none}
</style>
"""
st.markdown(hide_table_row_index, unsafe_allow_html=True)