Harheem Kim commited on
Commit
ea87118
·
1 Parent(s): 5becc9d

change the dropdown

Browse files
styles/leaderboard_styles.py CHANGED
@@ -444,5 +444,31 @@ def get_leaderboard_css():
444
  color: white !important;
445
  }
446
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
447
  </style>
448
  """
 
444
  color: white !important;
445
  }
446
 
447
+ /* Enhanced dropdown styling - more specific selectors
448
+ */
449
+ .gradio-dropdown select,
450
+ .gradio-dropdown [role="combobox"],
451
+ .gradio-dropdown input,
452
+ .gradio-dropdown button,
453
+ .model-dropdown select,
454
+ .model-dropdown [role="combobox"],
455
+ .model-dropdown button {
456
+ background: rgba(1, 9, 26, 0.95) !important;
457
+ color: white !important;
458
+ border: 1px solid var(--border-default) !important;
459
+ border-radius: 8px !important;
460
+ }
461
+
462
+ .gradio-dropdown option,
463
+ .model-dropdown option {
464
+ background: rgba(1, 9, 26, 0.95) !important;
465
+ color: white !important;
466
+ }
467
+
468
+ /* Force dropdown text color */
469
+ .gradio-dropdown *, .model-dropdown * {
470
+ color: white !important;
471
+ }
472
+
473
  </style>
474
  """
tabs/leaderboard_v1.py CHANGED
@@ -3182,17 +3182,7 @@ def create_domain_radar_chart(df, selected_models=None, max_models=5):
3182
  height=800,
3183
  width=900,
3184
  margin=dict(t=30, b=50, l=10, r=10),
3185
- autosize=True,
3186
- annotations=[
3187
- dict(
3188
- text="Galileo Agent Leaderboard",
3189
- xref="paper", yref="paper",
3190
- x=0.98, y=0.02,
3191
- xanchor='right', yanchor='bottom',
3192
- font=dict(size=10, color='#64748B'),
3193
- showarrow=False
3194
- )
3195
- ]
3196
  )
3197
 
3198
  return fig
 
3182
  height=800,
3183
  width=900,
3184
  margin=dict(t=30, b=50, l=10, r=10),
3185
+ autosize=True
 
 
 
 
 
 
 
 
 
 
3186
  )
3187
 
3188
  return fig