Maryam Ilka commited on
Commit
02bca9b
·
verified ·
1 Parent(s): e5fdc91

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -10
app.py CHANGED
@@ -599,16 +599,16 @@ def attention_check1():
599
  key="att1_radio"
600
  )
601
 
602
- if st.button("ادامه", key="continue_green", color="#28a745", width="100%"):
603
- st.markdown("""
604
- <style>
605
- div[data-testid="stButton"] > button[kind="primary"] {
606
- background-color: #28a745 !important;
607
- color: white !important;
608
- }
609
- </style>
610
- """, unsafe_allow_html=True)
611
-
612
  if answer:
613
  st.session_state.attention_check1 = answer # ذخیره پاسخ در session_state
614
  st.session_state.current_page = "random_likert_questions"
 
599
  key="att1_radio"
600
  )
601
 
602
+ st.markdown("""
603
+ <style>
604
+ div[data-testid="stButton"] > button[kind="primary"] {
605
+ background-color: #28a745 !important;
606
+ color: white !important;
607
+ }
608
+ </style>
609
+ """, unsafe_allow_html=True)
610
+
611
+ if st.button("ادامه", key="continue_green"):
612
  if answer:
613
  st.session_state.attention_check1 = answer # ذخیره پاسخ در session_state
614
  st.session_state.current_page = "random_likert_questions"