Compare commits

...

2 Commits

Author SHA1 Message Date
1e1968a5e5 fix bug 2025-10-27 05:13:58 +08:00
b25d13d041 fix bug 2025-10-27 05:12:00 +08:00

View File

@@ -11,7 +11,7 @@
/* 确保表格可以水平滚动 */ /* 确保表格可以水平滚动 */
.results { .results {
overflow-x: auto; overflow-x: auto !important;
} }
/* 为标题单元格设置最小宽度 */ /* 为标题单元格设置最小宽度 */
@@ -23,6 +23,7 @@
white-space: normal !important; white-space: normal !important;
word-wrap: break-word !important; word-wrap: break-word !important;
word-break: break-word !important; word-break: break-word !important;
vertical-align: top !important;
} }
/* 为表头设置固定位置 */ /* 为表头设置固定位置 */
@@ -34,13 +35,74 @@
/* 强制表格列宽度 */ /* 强制表格列宽度 */
.results table { .results table {
table-layout: fixed !important; table-layout: fixed !important;
width: 100% !important; width: auto !important;
min-width: 100% !important;
} }
/* 特殊处理标题列 */ /* 特殊处理复选框列(第一列) */
.change-list .results table tbody td:nth-child(1), .change-list .results table tbody td:nth-child(1),
.change-list .results table thead th:nth-child(1) { .change-list .results table thead th:nth-child(1) {
width: 40px !important;
min-width: 40px !important;
max-width: 40px !important;
}
/* 特殊处理标题列(第二列) */
.change-list .results table tbody td:nth-child(2),
.change-list .results table thead th:nth-child(2) {
width: 350px !important; width: 350px !important;
min-width: 350px !important; min-width: 350px !important;
max-width: 350px !important; max-width: 350px !important;
} }
/* 设置其他列的宽度 */
.change-list .results table tbody td:nth-child(3),
.change-list .results table thead th:nth-child(3) {
width: 120px !important;
min-width: 120px !important;
}
.change-list .results table tbody td:nth-child(4),
.change-list .results table thead th:nth-child(4) {
width: 120px !important;
min-width: 120px !important;
}
.change-list .results table tbody td:nth-child(5),
.change-list .results table thead th:nth-child(5) {
width: 150px !important;
min-width: 150px !important;
}
.change-list .results table tbody td:nth-child(6),
.change-list .results table thead th:nth-child(6) {
width: 80px !important;
min-width: 80px !important;
}
.change-list .results table tbody td:nth-child(7),
.change-list .results table thead th:nth-child(7) {
width: 120px !important;
min-width: 120px !important;
}
.change-list .results table tbody td:nth-child(8),
.change-list .results table thead th:nth-child(8) {
width: 100px !important;
min-width: 100px !important;
}
.change-list .results table tbody td:nth-child(9),
.change-list .results table thead th:nth-child(9) {
width: 120px !important;
min-width: 120px !important;
}
/* 确保单元格内容不会溢出 */
.results table tbody td,
.results table thead th {
white-space: normal !important;
word-wrap: break-word !important;
padding: 8px !important;
vertical-align: top !important;
}