Spaces:
Sleeping
Sleeping
Clémentine
commited on
Commit
•
3df8919
1
Parent(s):
b762711
full width css!
Browse files- src/display/css_html_js.py +20 -34
src/display/css_html_js.py
CHANGED
@@ -1,5 +1,24 @@
|
|
1 |
custom_css = """
|
|
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
.markdown-text {
|
4 |
font-size: 16px !important;
|
5 |
}
|
@@ -21,14 +40,6 @@ custom_css = """
|
|
21 |
transform: scale(1.3);
|
22 |
}
|
23 |
|
24 |
-
#leaderboard-table {
|
25 |
-
margin-top: 15px
|
26 |
-
}
|
27 |
-
|
28 |
-
#leaderboard-table-lite {
|
29 |
-
margin-top: 15px
|
30 |
-
}
|
31 |
-
|
32 |
#search-bar-table-box > div:first-child {
|
33 |
background: none;
|
34 |
border: none;
|
@@ -38,36 +49,11 @@ custom_css = """
|
|
38 |
padding: 0px;
|
39 |
}
|
40 |
|
41 |
-
/* Hides the final AutoEvalColumn */
|
42 |
-
#llm-benchmark-tab-table table td:last-child,
|
43 |
-
#llm-benchmark-tab-table table th:last-child {
|
44 |
-
display: none;
|
45 |
-
}
|
46 |
-
|
47 |
-
/* Limit the width of the first AutoEvalColumn so that names don't expand too much */
|
48 |
-
table td:first-child,
|
49 |
-
table th:first-child {
|
50 |
-
max-width: 400px;
|
51 |
-
overflow: auto;
|
52 |
-
white-space: nowrap;
|
53 |
-
}
|
54 |
-
|
55 |
.tab-buttons button {
|
56 |
font-size: 20px;
|
57 |
}
|
58 |
|
59 |
-
|
60 |
-
border-style: none !important;
|
61 |
-
box-shadow: none;
|
62 |
-
display: block;
|
63 |
-
margin-left: auto;
|
64 |
-
margin-right: auto;
|
65 |
-
max-width: 600px;
|
66 |
-
}
|
67 |
-
|
68 |
-
#scale-logo .download {
|
69 |
-
display: none;
|
70 |
-
}
|
71 |
#filter_type{
|
72 |
border: 0;
|
73 |
padding-left: 0;
|
|
|
1 |
custom_css = """
|
2 |
+
/* Hides the final AutoEvalColumn */
|
3 |
+
#llm-benchmark-tab-table table td:last-child,
|
4 |
+
#llm-benchmark-tab-table table th:last-child {
|
5 |
+
display: none;
|
6 |
+
}
|
7 |
|
8 |
+
/* Limit the width of the first AutoEvalColumn so that names don't expand too much */
|
9 |
+
table td:first-child,
|
10 |
+
table th:first-child {
|
11 |
+
max-width: 400px;
|
12 |
+
overflow: auto;
|
13 |
+
white-space: nowrap;
|
14 |
+
}
|
15 |
+
|
16 |
+
/* Full width space */
|
17 |
+
.gradio-container {
|
18 |
+
max-width: 95%!important;
|
19 |
+
}
|
20 |
+
|
21 |
+
/* Text style and margins */
|
22 |
.markdown-text {
|
23 |
font-size: 16px !important;
|
24 |
}
|
|
|
40 |
transform: scale(1.3);
|
41 |
}
|
42 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
43 |
#search-bar-table-box > div:first-child {
|
44 |
background: none;
|
45 |
border: none;
|
|
|
49 |
padding: 0px;
|
50 |
}
|
51 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
52 |
.tab-buttons button {
|
53 |
font-size: 20px;
|
54 |
}
|
55 |
|
56 |
+
/* Filters style */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
57 |
#filter_type{
|
58 |
border: 0;
|
59 |
padding-left: 0;
|