fix:修复列配置后左侧table无法对齐列的问题

This commit is contained in:
qiuchengw
2025-09-24 20:30:29 +08:00
parent ade1d81c95
commit 7309865af0
4 changed files with 45 additions and 21 deletions
+28
View File
@@ -51,6 +51,34 @@
max-width: 100px;
}
/* 基于 key 的 CSS 类名(备用) */
.col-taskName {
flex: 2 0 300px;
min-width: 300px;
max-width: 300px;
justify-content: flex-start;
}
.col-predecessor {
flex: 1 0 120px;
min-width: 120px;
max-width: 120px;
}
.col-startDate,
.col-endDate {
flex: 1.2 0 140px;
min-width: 140px;
max-width: 140px;
}
.col-estimatedHours,
.col-actualHours {
flex: 1 0 100px;
min-width: 100px;
max-width: 100px;
}
.col:last-child {
border-right: none;
}