pfaffelh / mi-vvz

0 stars 0 forks source link

CSS styles do not work every time #14

Closed Tobb2002 closed 6 months ago

Tobb2002 commented 6 months ago

At the moment css styles are defined in utils.py and do not get loaded when opening a new page.

That's the reason why multiselect color is not applied all the time.

Tobb2002 commented 6 months ago

To load css styles correct, every page that uses css styles (has multiselect boxes or right alignment) should add the following after st.set_page_config:

# load css styles
from misc.css_styles import init_css
init_css()
Tobb2002 commented 6 months ago

Should now work everywhere