diff --git a/components/footer.py b/components/footer.py index c512ac8..bc84bb8 100644 --- a/components/footer.py +++ b/components/footer.py @@ -14,7 +14,7 @@ def afficher_pied_de_page(): {_("footer.copyright", "Fabnum © 2025")} – {_("footer.contact", "Contact")} – {_("footer.license", "Licence")} {_("footer.license_text", "CC BY-NC-ND")}
diff --git a/components/sidebar.py b/components/sidebar.py index 7f09212..9f43fbb 100644 --- a/components/sidebar.py +++ b/components/sidebar.py @@ -59,10 +59,10 @@ def afficher_menu(): str(_("sidebar.theme_dark", "Sombre")) ] theme = st.radio( - str(_("sidebar.theme", "Thème")), - theme_options, - index=theme_options.index(st.session_state.theme_mode), - horizontal=True, + str(_("sidebar.theme", "Thème")), + theme_options, + index=theme_options.index(st.session_state.theme_mode), + horizontal=True, label_visibility="hidden" ) @@ -103,7 +103,7 @@ def afficher_menu(): def afficher_impact(total_bytes): impact_label = str(_("sidebar.impact", "Impact environnemental")) loading_text = str(_("sidebar.loading", "Chargement en cours…")) - + with st.sidebar: components.html(f""" @@ -157,3 +157,8 @@ def afficher_impact(total_bytes):