Saicharan21 commited on
Commit
4cea5a3
·
verified ·
1 Parent(s): f2dc563

Upload app.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +51 -0
app.py CHANGED
@@ -199,6 +199,57 @@ label span {
199
  .prose, .md { color: rgba(255,255,255,0.8) !important; }
200
 
201
  ::-webkit-scrollbar { width: 5px; }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
202
  ::-webkit-scrollbar-track { background: transparent; }
203
  ::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 10px; }
204
  ::-webkit-scrollbar-thumb:hover { background: rgba(193,18,31,0.5); }
 
199
  .prose, .md { color: rgba(255,255,255,0.8) !important; }
200
 
201
  ::-webkit-scrollbar { width: 5px; }
202
+ /* FIX DROPDOWNS - z-index critical */
203
+ .multiselect, .dropdown-arrow, .wrap-inner, select {
204
+ z-index: 9999 !important;
205
+ position: relative !important;
206
+ }
207
+
208
+ ul.options {
209
+ z-index: 99999 !important;
210
+ position: absolute !important;
211
+ background: #1a1a2e !important;
212
+ border: 1px solid rgba(193,18,31,0.4) !important;
213
+ border-radius: 10px !important;
214
+ color: white !important;
215
+ }
216
+
217
+ ul.options li {
218
+ background: #1a1a2e !important;
219
+ color: rgba(255,255,255,0.85) !important;
220
+ padding: 8px 12px !important;
221
+ }
222
+
223
+ ul.options li:hover {
224
+ background: rgba(193,18,31,0.3) !important;
225
+ }
226
+
227
+ /* Fix body::before blocking clicks */
228
+ body::before {
229
+ pointer-events: none !important;
230
+ z-index: -1 !important;
231
+ }
232
+
233
+ /* Fix dropdown container */
234
+ .gradio-dropdown {
235
+ z-index: 1000 !important;
236
+ position: relative !important;
237
+ }
238
+
239
+ /* Fix session dropdown */
240
+ .gradio-dropdown ul {
241
+ z-index: 99999 !important;
242
+ background: #0d1117 !important;
243
+ border: 1px solid rgba(255,255,255,0.15) !important;
244
+ border-radius: 10px !important;
245
+ }
246
+
247
+ /* Fix all interactive elements z-index */
248
+ button, input, select, textarea, .gr-dropdown {
249
+ position: relative !important;
250
+ z-index: 100 !important;
251
+ }
252
+
253
  ::-webkit-scrollbar-track { background: transparent; }
254
  ::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 10px; }
255
  ::-webkit-scrollbar-thumb:hover { background: rgba(193,18,31,0.5); }