修复左侧list和右侧甘特视图滚动偏差,行无法对齐问题

This commit is contained in:
qiuchengw
2025-09-25 11:43:05 +08:00
parent 185c6047cc
commit 139b76423f
3 changed files with 7 additions and 8 deletions
+2 -1
View File
@@ -518,7 +518,8 @@ onUnmounted(() => {
.task-row {
display: flex;
border-bottom: 1px solid var(--gantt-border-light);
height: 50px;
height: 51px; /* 修改为51px,与Timeline中的task-row高度保持一致,包含border-bottom 1px */
box-sizing: border-box; /* 确保border包含在高度计算中 */
background: var(--gantt-bg-primary);
align-items: center;
color: var(--gantt-text-secondary);