Update src/display/css_html_js.py
Browse files- src/display/css_html_js.py +1 -11
src/display/css_html_js.py
CHANGED
|
@@ -12,23 +12,13 @@ custom_css = """
|
|
| 12 |
.multiline.svelte-fvkwu {
|
| 13 |
overflow: visible !important; /* 防止隐藏超出部分 */
|
| 14 |
text-overflow: unset !important; /* 取消文本溢出省略 */
|
| 15 |
-
min-width:
|
| 16 |
}
|
| 17 |
|
| 18 |
.gradio-container.gradio-container-5-43-1 .contain .tab-buttons button {
|
| 19 |
font-size: 14px !important;
|
| 20 |
}
|
| 21 |
|
| 22 |
-
.gradio-container .dataframe table th {
|
| 23 |
-
min-width: 150px !important; /* 设置最小列宽度为 150px,根据需要调整 */
|
| 24 |
-
word-wrap: break-word !important; /* 防止列标题溢出 */
|
| 25 |
-
}
|
| 26 |
-
|
| 27 |
-
/* 为表格的单元格内容设置最小宽度 */
|
| 28 |
-
.gradio-container .dataframe table td {
|
| 29 |
-
min-width: 150px !important; /* 设置最小列宽度为 150px */
|
| 30 |
-
word-wrap: break-word !important; /* 强制长单词换行 */
|
| 31 |
-
}
|
| 32 |
|
| 33 |
|
| 34 |
/* Enhanced Leaderboard table styling */
|
|
|
|
| 12 |
.multiline.svelte-fvkwu {
|
| 13 |
overflow: visible !important; /* 防止隐藏超出部分 */
|
| 14 |
text-overflow: unset !important; /* 取消文本溢出省略 */
|
| 15 |
+
min-width: 130px !important;
|
| 16 |
}
|
| 17 |
|
| 18 |
.gradio-container.gradio-container-5-43-1 .contain .tab-buttons button {
|
| 19 |
font-size: 14px !important;
|
| 20 |
}
|
| 21 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 22 |
|
| 23 |
|
| 24 |
/* Enhanced Leaderboard table styling */
|