From b8fbf5280762e4a81cf5b92f3c59a66afc918777 Mon Sep 17 00:00:00 2001
From: Gary Gu <garygu@Garydebijibendiannao.local>
Date: Thu, 29 May 2025 10:56:41 +0800
Subject: [PATCH] feat: 甘特图嵌入开发
---
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