#ICZHXX 左侧的table表头和列内容没有对齐

This commit is contained in:
qiuchengw
2025-09-24 17:29:38 +08:00
parent 86aab1be0f
commit 49e4a08f10
4 changed files with 59 additions and 97 deletions
+1 -45
View File
@@ -460,6 +460,7 @@ onUnmounted(() => {
<style scoped>
@import '../styles/theme-variables.css';
@import '../styles/list.css';
.task-row {
display: flex;
@@ -611,51 +612,6 @@ onUnmounted(() => {
margin-right: 4px;
}
.col {
display: flex;
align-items: center;
justify-content: center;
height: 100%;
border-right: 1px solid var(--gantt-border-light);
box-sizing: border-box;
overflow: hidden;
}
.col:last-child {
border-right: none;
}
.col-name {
flex: 2 0 300px;
min-width: 300px;
justify-content: flex-start;
}
.col-pre {
flex: 1 0 120px;
min-width: 120px;
}
.col-assignee {
flex: 1 0 120px;
min-width: 120px;
}
.col-date {
flex: 1.2 0 140px;
min-width: 140px;
}
.col-hours {
flex: 1 0 100px;
min-width: 100px;
}
.col-progress {
flex: 1 0 100px;
min-width: 100px;
}
.task-name-text {
display: inline-block;
max-width: calc(100% - 24px);