From d50fa7d928b5e7c3819bad2352d80d65ca72fca8 Mon Sep 17 00:00:00 2001 From: ssongliu <73214554+ssongliu@users.noreply.github.com> Date: Tue, 19 Dec 2023 17:38:07 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BC=98=E5=8C=96=E9=83=A8=E5=88=86?= =?UTF-8?q?=E7=95=8C=E9=9D=A2=E6=BB=9A=E5=8A=A8=E6=9D=A1=E6=A0=B7=E5=BC=8F?= =?UTF-8?q?=20(#3389)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/container/compose/create/index.vue | 2 +- frontend/src/views/host/ssh/ssh/index.vue | 2 +- frontend/src/views/toolbox/device/dns/index.vue | 2 +- .../src/views/website/website/config/log/log-fiile/index.vue | 2 +- .../src/views/website/website/config/resource/nginx/index.vue | 2 +- .../src/views/website/website/config/resource/php-fpm/index.vue | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/frontend/src/views/container/compose/create/index.vue b/frontend/src/views/container/compose/create/index.vue index 3dee9e7be..781d8d325 100644 --- a/frontend/src/views/container/compose/create/index.vue +++ b/frontend/src/views/container/compose/create/index.vue @@ -69,7 +69,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 - 375px)" + style="width: 100%; height: calc(100vh - 376px)" :lineWrapping="true" :matchBrackets="true" theme="cobalt" diff --git a/frontend/src/views/host/ssh/ssh/index.vue b/frontend/src/views/host/ssh/ssh/index.vue index 6ad9be2fd..7141215a4 100644 --- a/frontend/src/views/host/ssh/ssh/index.vue +++ b/frontend/src/views/host/ssh/ssh/index.vue @@ -130,7 +130,7 @@ placeholder="# The SSH configuration file does not exist or is empty (/etc/ssh/sshd_config)" :indent-with-tab="true" :tabSize="4" - style="margin-top: 10px; height: calc(100vh - 330px)" + style="margin-top: 10px; height: calc(100vh - 405px)" :lineWrapping="true" :matchBrackets="true" theme="cobalt" diff --git a/frontend/src/views/toolbox/device/dns/index.vue b/frontend/src/views/toolbox/device/dns/index.vue index a140f017d..ee32865c9 100644 --- a/frontend/src/views/toolbox/device/dns/index.vue +++ b/frontend/src/views/toolbox/device/dns/index.vue @@ -40,7 +40,7 @@ placeholder="# The DNS configuration file does not exist or is empty (/etc/resolv.conf)" :indent-with-tab="true" :tabSize="4" - style="margin-top: 10px; height: calc(100vh - 200px)" + style="margin-top: 10px; height: calc(100vh - 260px)" :lineWrapping="true" :matchBrackets="true" theme="cobalt" diff --git a/frontend/src/views/website/website/config/log/log-fiile/index.vue b/frontend/src/views/website/website/config/log/log-fiile/index.vue index 5406f08ac..9ba1909e0 100644 --- a/frontend/src/views/website/website/config/log/log-fiile/index.vue +++ b/frontend/src/views/website/website/config/log/log-fiile/index.vue @@ -38,7 +38,7 @@ const logType = computed(() => { const id = computed(() => { return props.id; }); -const style = ref('height: calc(100vh - 400px); width: 100%; min-height: 400px'); +const style = ref('height: calc(100vh - 402px); width: 100%; min-height: 300px'); const loading = ref(false); const data = ref({ enable: false, diff --git a/frontend/src/views/website/website/config/resource/nginx/index.vue b/frontend/src/views/website/website/config/resource/nginx/index.vue index 71cb3ade9..a2cd9b8f8 100644 --- a/frontend/src/views/website/website/config/resource/nginx/index.vue +++ b/frontend/src/views/website/website/config/resource/nginx/index.vue @@ -5,7 +5,7 @@ :placeholder="$t('commons.msg.noneData')" :indent-with-tab="true" :tabSize="4" - style="max-height: 700px" + style="height: calc(100vh - 352px)" :lineWrapping="true" :matchBrackets="true" theme="cobalt" diff --git a/frontend/src/views/website/website/config/resource/php-fpm/index.vue b/frontend/src/views/website/website/config/resource/php-fpm/index.vue index 5d7998480..e49f1521b 100644 --- a/frontend/src/views/website/website/config/resource/php-fpm/index.vue +++ b/frontend/src/views/website/website/config/resource/php-fpm/index.vue @@ -5,7 +5,7 @@ :placeholder="$t('commons.msg.noneData')" :indent-with-tab="true" :tabSize="4" - style="max-height: 700px" + style="height: calc(100vh - 352px)" :lineWrapping="true" :matchBrackets="true" theme="cobalt"