From 634849c347c29fa7a205f887eb898b66cd3dbd7b Mon Sep 17 00:00:00 2001
From: ssongliu <73214554+ssongliu@users.noreply.github.com>
Date: Sat, 28 Sep 2024 09:37:40 +0800
Subject: [PATCH] =?UTF-8?q?feat:=20Compose=20=E7=8E=AF=E5=A2=83=E5=8F=98?=
=?UTF-8?q?=E9=87=8F=E7=BC=96=E8=BE=91=E5=A2=9E=E5=8A=A0=E6=98=AF=E5=90=A6?=
=?UTF-8?q?=201Panel=20=E5=88=9B=E5=BB=BA=E6=A0=A1=E9=AA=8C=20(#6605)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../views/container/compose/edit/index.vue | 53 +++++++++++--------
1 file changed, 32 insertions(+), 21 deletions(-)
diff --git a/frontend/src/views/container/compose/edit/index.vue b/frontend/src/views/container/compose/edit/index.vue
index a4b00af4a..bba6ed6a0 100644
--- a/frontend/src/views/container/compose/edit/index.vue
+++ b/frontend/src/views/container/compose/edit/index.vue
@@ -19,7 +19,7 @@
placeholder="#Define or paste the content of your docker-compose file here"
:indent-with-tab="true"
:tabSize="4"
- style="width: 100%; height: calc(100vh - 300px)"
+ :style="{ width: '100%', height: `calc(100vh - ${loadHeight()})` }"
:lineWrapping="true"
:matchBrackets="true"
theme="cobalt"
@@ -28,26 +28,34 @@
v-model="content"
/>
-