Spaces:
Sleeping
Sleeping
Commit
·
fc32710
1
Parent(s):
abf5a88
Apply CSS to the model name column (#14)
Browse files- Apply CSS to the model name column (e5f0365777f9f167164b69a0afcb561fe083b075)
Co-authored-by: Takumi Okamoto <[email protected]>
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:
|
| 43 |
-
table th:
|
| 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;
|