diff --git a/demo/App.vue b/demo/App.vue index 981972a..f9c5fe9 100644 --- a/demo/App.vue +++ b/demo/App.vue @@ -910,7 +910,7 @@ function taskDebug(item: any) { .app-container { width: 100%; height: 100%; - padding: 20px; + padding: 10px; box-sizing: border-box; background: var(--gantt-bg-secondary, #f0f2f5); display: flex; @@ -922,7 +922,7 @@ function taskDebug(item: any) { background: var(--gantt-bg-primary, #ffffff); border: 1px solid var(--gantt-border-color, #e4e7ed); border-radius: 8px; - margin-bottom: 20px; + margin-bottom: 10px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); transition: all 0.3s ease; overflow: hidden; @@ -1453,7 +1453,6 @@ function taskDebug(item: any) { display: flex; align-items: flex-start; justify-content: flex-start; - margin-bottom: 24px; } .license-info { diff --git a/demo/style.css b/demo/style.css index 9fe2dbe..8f20d57 100644 --- a/demo/style.css +++ b/demo/style.css @@ -26,7 +26,6 @@ body { margin: 0; min-width: 320px; height: 100vh; - padding: 30px; box-sizing: border-box; display: flex; align-items: center; diff --git a/src/components/GanttLinks.vue b/src/components/GanttLinks.vue index 595ed00..c0e76b2 100644 --- a/src/components/GanttLinks.vue +++ b/src/components/GanttLinks.vue @@ -1,5 +1,5 @@