clefourrier HF staff t0-0 commited on
Commit
1e9b470
1 Parent(s): 53a0fb5

Apply CSS to the model name column (#14)

Browse files

- Apply CSS to the model name column (e630c2a8fc1f8eb2868223a1fceec085da339da7)


Co-authored-by: Takumi Okamoto <t0-0@users.noreply.huggingface.co>

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;