From c73c606d04be46b268f4729c00ea5b3973d82226 Mon Sep 17 00:00:00 2001 From: qiuchengw Date: Wed, 12 Nov 2025 22:20:21 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E9=99=A4=E8=B0=83=E8=AF=95=E6=97=A5?= =?UTF-8?q?=E5=BF=97=E7=9B=B8=E5=85=B3=E4=BB=A3=E7=A0=81=EF=BC=8C=E4=BC=98?= =?UTF-8?q?=E5=8C=96demo=E8=B0=83=E8=AF=95=E5=8F=AF=E8=A7=86=E5=8C=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- demo/App.vue | 5 +-- demo/style.css | 1 - src/components/GanttLinks.vue | 80 +++++++++++++++++++++-------------- 3 files changed, 51 insertions(+), 35 deletions(-) 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 @@