Maryam Ilka commited on
Commit
e8c3074
·
verified ·
1 Parent(s): b00a146

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -1
app.py CHANGED
@@ -90,7 +90,6 @@ st.markdown("""
90
  background-color: var(--input-bg) !important;
91
  border: 1px solid var(--primary) !important;
92
  border-radius: 6px !important;
93
- padding: 8px 12px !important;
94
  min-height: 40px !important;
95
  transition: all 0.2s ease !important;
96
  }
@@ -133,6 +132,18 @@ st.markdown("""
133
  }
134
 
135
  /* ========== استایل‌های خاص Selectbox ========== */
 
 
 
 
 
 
 
 
 
 
 
 
136
  div[data-baseweb="select"] {
137
  position: relative !important;
138
  }
 
90
  background-color: var(--input-bg) !important;
91
  border: 1px solid var(--primary) !important;
92
  border-radius: 6px !important;
 
93
  min-height: 40px !important;
94
  transition: all 0.2s ease !important;
95
  }
 
132
  }
133
 
134
  /* ========== استایل‌های خاص Selectbox ========== */
135
+ div[data-baseweb="select"] > div:first-child {
136
+ -webkit-appearance: none !important;
137
+ -moz-appearance: none !important;
138
+ appearance: none !important;
139
+ background-image: none !important;
140
+ }
141
+
142
+ /* برای اینترنت اکسپلورر */
143
+ div[data-baseweb="select"] > div:first-child::-ms-expand {
144
+ display: none !important;
145
+ }
146
+
147
  div[data-baseweb="select"] {
148
  position: relative !important;
149
  }