Update src/display/css_html_js.py
Browse files
src/display/css_html_js.py
CHANGED
|
@@ -5,16 +5,7 @@ custom_css = """
|
|
| 5 |
line-height: 1.6 !important;
|
| 6 |
}
|
| 7 |
|
| 8 |
-
.gradio-dataframe table {
|
| 9 |
-
table-layout: auto; /* 根据内容自动分配列宽 */
|
| 10 |
-
width: 100%; /* 占满容器宽度 */
|
| 11 |
-
}
|
| 12 |
|
| 13 |
-
.gradio-dataframe th,
|
| 14 |
-
.gradio-dataframe td {
|
| 15 |
-
white-space: nowrap; /* 不换行 */
|
| 16 |
-
padding: 6px 10px; /* 内边距更美观 */
|
| 17 |
-
}
|
| 18 |
|
| 19 |
/* Enhanced Leaderboard table styling */
|
| 20 |
.dataframe {
|
|
|
|
| 5 |
line-height: 1.6 !important;
|
| 6 |
}
|
| 7 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
|
| 10 |
/* Enhanced Leaderboard table styling */
|
| 11 |
.dataframe {
|