This commit is contained in:
2025-10-27 05:02:56 +08:00
parent 68d0a48386
commit 8f9bca5dfa
2 changed files with 66 additions and 5 deletions

View File

@@ -0,0 +1,46 @@
/*
自定义管理后台样式
*/
/* 增加标题列的宽度 */
.field-title_display {
width: 350px !important;
max-width: 350px !important;
min-width: 350px !important;
}
/* 确保表格可以水平滚动 */
.results {
overflow-x: auto;
}
/* 为标题单元格设置最小宽度 */
.results table tbody td.field-title_display,
.results table thead th.field-title_display {
min-width: 350px !important;
width: 350px !important;
max-width: 350px !important;
white-space: normal !important;
word-wrap: break-word !important;
word-break: break-word !important;
}
/* 为表头设置固定位置 */
.results table thead {
position: sticky;
top: 0;
}
/* 强制表格列宽度 */
.results table {
table-layout: fixed !important;
width: 100% !important;
}
/* 特殊处理标题列 */
.change-list .results table tbody td:nth-child(1),
.change-list .results table thead th:nth-child(1) {
width: 350px !important;
min-width: 350px !important;
max-width: 350px !important;
}