clea up code and layout

This commit is contained in:
knedlik
2025-12-10 22:52:22 +01:00
parent 7f21716358
commit e2091ec677
11 changed files with 211 additions and 86 deletions

8
app/tools/load_css.py Normal file
View 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)