From 3a24b055c7222fb3708bc851e5e5865771525d5a Mon Sep 17 00:00:00 2001
From: NeirouzB <neirouz.bouchaira@ecl21.ec-lyon.fr>
Date: Sun, 5 Jan 2025 17:20:07 +0100
Subject: [PATCH] yesssssssssssqsssss

---
 streamlit_app.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/streamlit_app.py b/streamlit_app.py
index df3f671..c548a0f 100644
--- a/streamlit_app.py
+++ b/streamlit_app.py
@@ -100,7 +100,7 @@ if 'logged_in' in st.session_state and st.session_state.logged_in:
                 cursor.execute("SELECT DATE_LUNDI, NB_HEURES FROM SALAIRE_SEMAINE WHERE NUMERO_EMPLOYE = ?", (int(employe.split(" - ")[0]),))
                 df=pd.DataFrame(cursor.fetchall(), columns=[desc[0] for desc in cursor.description])
                 st.write("Nombre d'heures travaillées par semaine pour l'employé sélectionné")
-                st.dataframe(df, hide_index=True)
+                st.dataframe(df, hide_index=True, use_container_width=True)
                 import matplotlib.pyplot as plt
 
                 # Filter the last 10 weeks
@@ -127,7 +127,7 @@ if 'logged_in' in st.session_state and st.session_state.logged_in:
                 cursor.execute("SELECT DATE_LUNDI, NB_PRODUCTION FROM SALAIRE_SEMAINE WHERE NUMERO_EMPLOYE = ?", (int(employe.split(" - ")[0]),))
                 df=pd.DataFrame(cursor.fetchall(), columns=[desc[0] for desc in cursor.description])
                 st.write("Nombre de production par semaine pour l'employé sélectionné (question 4)")
-                st.dataframe(df, hide_index=True)
+                st.dataframe(df, hide_index=True, use_container_width=True)
                 import matplotlib.pyplot as plt
 
                 # Filter the last 10 weeks
-- 
GitLab