From 4f759039c251fea61591a9bf7836d2c8b8993c0a Mon Sep 17 00:00:00 2001
From: Gary Gu <garygu@Garydebijibendiannao.local>
Date: Thu, 29 May 2025 15:48:54 +0800
Subject: [PATCH] fix: 修复el-scrollbar滑动问题

---
 src/components/Gantt.vue |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/components/Gantt.vue b/src/components/Gantt.vue
index d65cee0..20a0a46 100644
--- a/src/components/Gantt.vue
+++ b/src/components/Gantt.vue
@@ -18,7 +18,7 @@
         ><span class="color" style="background-color: rgb(14, 172, 81)"></span>
       </div>
     </div>
-    <div ref="gantt" style="height: 400px; font-size: 12px"></div>
+    <div ref="gantt" style="height: 100%; font-size: 12px"></div>
   </div>
 </template>
 
@@ -510,6 +510,7 @@
 </script>
 <style lang="scss" scoped>
   .gantt-box {
+    height: calc(100% - 52px);
     background-color: rgba(0, 0, 0, 0.2);
     margin: 10px;
     color: #fff;

--
Gitblit v1.9.3