GSMEthesis commited on
Commit
416e582
·
verified ·
1 Parent(s): bc0fde0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -4
app.py CHANGED
@@ -675,8 +675,8 @@ h3 {
675
  max-width: 100% !important;
676
  height: auto !important;
677
  display: block !important;
678
- padding: 20px !important;
679
- margin: 20px !important;
680
  }
681
 
682
  /* برای تضمین نمایش در حالت موبایل شبیه‌سازی شده */
@@ -993,7 +993,11 @@ def scenario_explanation():
993
  col1, col2 = st.columns([1, 4])
994
  with col1:
995
  try:
996
- st.image("rahyar.png", width=80)
 
 
 
 
997
  except:
998
  st.image("https://via.placeholder.com/80/6a0dad/FFFFFF?text=LOGO", width=80)
999
  with col2:
@@ -1021,7 +1025,11 @@ def map_view():
1021
  col1, col2 = st.columns([1, 4])
1022
  with col1:
1023
  try:
1024
- st.image("rahyar.png", width=80)
 
 
 
 
1025
  except:
1026
  st.image("https://via.placeholder.com/80/6a0dad/FFFFFF?text=LOGO", width=80)
1027
  with col2:
 
675
  max-width: 100% !important;
676
  height: auto !important;
677
  display: block !important;
678
+ padding: 0 !important;
679
+ margin: 0 auto !important;
680
  }
681
 
682
  /* برای تضمین نمایش در حالت موبایل شبیه‌سازی شده */
 
993
  col1, col2 = st.columns([1, 4])
994
  with col1:
995
  try:
996
+ st.markdown("""
997
+ <div style="margin-left: 30px;">
998
+ <img src="rahyar.png" width="80">
999
+ </div>
1000
+ """, unsafe_allow_html=True)
1001
  except:
1002
  st.image("https://via.placeholder.com/80/6a0dad/FFFFFF?text=LOGO", width=80)
1003
  with col2:
 
1025
  col1, col2 = st.columns([1, 4])
1026
  with col1:
1027
  try:
1028
+ st.markdown("""
1029
+ <div style="margin-left: 30px;">
1030
+ <img src="rahyar.png" width="80">
1031
+ </div>
1032
+ """, unsafe_allow_html=True)
1033
  except:
1034
  st.image("https://via.placeholder.com/80/6a0dad/FFFFFF?text=LOGO", width=80)
1035
  with col2: