Spaces:
Running
Running
Narrow rank table Model column
Browse files
src/display/css_html_js.py
CHANGED
|
@@ -79,8 +79,8 @@ custom_css = """
|
|
| 79 |
border: 1px solid var(--bench-line) !important;
|
| 80 |
}
|
| 81 |
.rank-leaderboard-dataframe {
|
| 82 |
-
--leaderboard-model-column-width:
|
| 83 |
-
--leaderboard-rank-table-min-width:
|
| 84 |
--cell-width-0: var(--leaderboard-model-column-width) !important;
|
| 85 |
}
|
| 86 |
.dataframe table,
|
|
@@ -233,7 +233,11 @@ custom_css = """
|
|
| 233 |
.domain-rank-table tbody tr:nth-child(even) {
|
| 234 |
background: #ffffff !important;
|
| 235 |
}
|
| 236 |
-
.rank-html-table .rank-fixed-column
|
|
|
|
|
|
|
|
|
|
|
|
|
| 237 |
.domain-rank-table .domain-rank-model-column {
|
| 238 |
width: auto !important;
|
| 239 |
min-width: 0 !important;
|
|
|
|
| 79 |
border: 1px solid var(--bench-line) !important;
|
| 80 |
}
|
| 81 |
.rank-leaderboard-dataframe {
|
| 82 |
+
--leaderboard-model-column-width: 180px;
|
| 83 |
+
--leaderboard-rank-table-min-width: 1620px;
|
| 84 |
--cell-width-0: var(--leaderboard-model-column-width) !important;
|
| 85 |
}
|
| 86 |
.dataframe table,
|
|
|
|
| 233 |
.domain-rank-table tbody tr:nth-child(even) {
|
| 234 |
background: #ffffff !important;
|
| 235 |
}
|
| 236 |
+
.rank-html-table .rank-fixed-column {
|
| 237 |
+
width: 180px !important;
|
| 238 |
+
min-width: 180px !important;
|
| 239 |
+
max-width: 180px !important;
|
| 240 |
+
}
|
| 241 |
.domain-rank-table .domain-rank-model-column {
|
| 242 |
width: auto !important;
|
| 243 |
min-width: 0 !important;
|