Maryam Ilka commited on
Commit
7063da5
·
verified ·
1 Parent(s): 06b7d8a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -5
app.py CHANGED
@@ -234,15 +234,15 @@ st.markdown("""
234
  }
235
 
236
  /* دکمه سبز (ثالث) */
237
- .stButton>button.green-btn,
238
- div[data-testid="stVerticalBlock"] > div[data-testid="stHorizontalBlock"] > div > div > button.green-btn {
 
239
  background-color: #28a745 !important; /* رنگ سبز */
240
  color: white !important;
241
  border: none !important;
242
  border-radius: 8px !important;
243
  padding: 10px 20px !important;
244
  font-weight: bold !important;
245
- width: 100% !important;
246
  }
247
 
248
 
@@ -611,8 +611,7 @@ def attention_check1():
611
  key="att1_radio"
612
  )
613
 
614
- if st.button("ادامه", key="continue_green", type="primary", use_container_width=True,
615
- kwargs={"class": "green-btn"}):
616
  if answer:
617
  st.session_state.attention_check1 = answer # ذخیره پاسخ در session_state
618
  st.session_state.current_page = "random_likert_questions"
 
234
  }
235
 
236
  /* دکمه سبز (ثالث) */
237
+ .stGreenButton>button,
238
+ [data-testid="baseButton-third"],
239
+ .green-btn {
240
  background-color: #28a745 !important; /* رنگ سبز */
241
  color: white !important;
242
  border: none !important;
243
  border-radius: 8px !important;
244
  padding: 10px 20px !important;
245
  font-weight: bold !important;
 
246
  }
247
 
248
 
 
611
  key="att1_radio"
612
  )
613
 
614
+ if st.green_button("ادامه")
 
615
  if answer:
616
  st.session_state.attention_check1 = answer # ذخیره پاسخ در session_state
617
  st.session_state.current_page = "random_likert_questions"