Apply CSS to the model name column

#14
by t0-0 - opened
Files changed (1) hide show
  1. src/display/css_html_js.py +2 -2
src/display/css_html_js.py CHANGED
@@ -39,8 +39,8 @@ custom_css = """
39
  }
40
 
41
  /* Limit the width of the first AutoEvalColumn so that names don't expand too much */
42
- table td:first-child,
43
- table th:first-child {
44
  max-width: 400px;
45
  overflow: auto;
46
  white-space: nowrap;
 
39
  }
40
 
41
  /* Limit the width of the first AutoEvalColumn so that names don't expand too much */
42
+ #leaderboard-table td:nth-child(2),
43
+ #leaderboard-table th:nth-child(2) {
44
  max-width: 400px;
45
  overflow: auto;
46
  white-space: nowrap;