3 modification

This commit is contained in:
2025-04-22 08:26:52 +02:00
parent 6fefd432aa
commit 0234ac98d3

View File

@@ -388,13 +388,13 @@ if st.session_state["role"] == "superviseur":
temp_max = chambre["Temp_Max"]
moins, val, plus = st.columns([1, 2, 1])
with moins:
if st.button("-", key=f"moins_{chambre['Id']}"):
if st.button("", key=f"moins_{chambre['Id']}"):
temp_max -= 1
with val:
st.markdown(f"<div style='text-align:center;font-size:20px'>{temp_max}°C</div>",
unsafe_allow_html=True)
with plus:
if st.button("+", key=f"plus_{chambre['Id']}"):
if st.button("", key=f"plus_{chambre['Id']}"):
temp_max += 1
if new_etat != chambre["Etat"] or temp_max != chambre["Temp_Max"]: