clea up code and layout
This commit is contained in:
8
app/tools/load_css.py
Normal file
8
app/tools/load_css.py
Normal file
@@ -0,0 +1,8 @@
|
||||
import streamlit as st
|
||||
from pathlib import Path
|
||||
|
||||
|
||||
def load_css():
|
||||
css_path = Path(__file__).parent.parent / ".streamlit" / "style.css"
|
||||
if css_path.exists():
|
||||
st.markdown(f"<style>{css_path.read_text()}</style>", unsafe_allow_html=True)
|
||||
Reference in New Issue
Block a user