Update src/display/css_html_js.py
Browse files
src/display/css_html_js.py
CHANGED
|
@@ -7,12 +7,9 @@ custom_css = """
|
|
| 7 |
/* Limit the width of the first AutoEvalColumn so that names don't expand too much */
|
| 8 |
table td:first-child,
|
| 9 |
table th:first-child {
|
| 10 |
-
max-width:
|
| 11 |
-
overflow:
|
| 12 |
-
white-space:
|
| 13 |
-
}
|
| 14 |
-
table {
|
| 15 |
-
table-layout: auto; /* Change from fixed to auto if necessary */
|
| 16 |
}
|
| 17 |
/* Full width space */
|
| 18 |
.gradio-container {
|
|
@@ -87,4 +84,4 @@ get_window_url_params = """
|
|
| 87 |
url_params = Object.fromEntries(params);
|
| 88 |
return url_params;
|
| 89 |
}
|
| 90 |
-
"""
|
|
|
|
| 7 |
/* Limit the width of the first AutoEvalColumn so that names don't expand too much */
|
| 8 |
table td:first-child,
|
| 9 |
table th:first-child {
|
| 10 |
+
max-width: 400px;
|
| 11 |
+
overflow: auto;
|
| 12 |
+
white-space: nowrap;
|
|
|
|
|
|
|
|
|
|
| 13 |
}
|
| 14 |
/* Full width space */
|
| 15 |
.gradio-container {
|
|
|
|
| 84 |
url_params = Object.fromEntries(params);
|
| 85 |
return url_params;
|
| 86 |
}
|
| 87 |
+
"""
|