From 2219b3f47b7273adcc3cd7f074dd09fc751bc59b Mon Sep 17 00:00:00 2001 From: wangdan-fit2cloud <79562285+wangdan-fit2cloud@users.noreply.github.com> Date: Tue, 10 Sep 2024 00:18:10 -0700 Subject: [PATCH] =?UTF-8?q?perf:=20=E4=BC=98=E5=8C=96=E5=B7=A5=E5=85=B7?= =?UTF-8?q?=E6=A0=8F=E6=A0=B7=E5=BC=8F=20(#6431)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit #### What this PR does / why we need it? #### Summary of your change #### Please indicate you've done the following: - [ ] Made sure tests are passing and test coverage is added if needed. - [ ] Made sure commit message follow the rule of [Conventional Commits specification](https://www.conventionalcommits.org/). - [ ] Considered the docs impact and opened a new docs issue or PR with docs changes if needed. --- .../src/components/layout-content/index.vue | 3 ++ frontend/src/styles/common.scss | 1 - frontend/src/views/app-store/index.scss | 1 - .../src/views/container/container/index.vue | 15 +++--- frontend/src/views/container/image/index.vue | 6 +-- .../src/views/container/network/index.vue | 6 +-- .../src/views/container/template/index.vue | 6 +-- frontend/src/views/container/volume/index.vue | 6 +-- frontend/src/views/cronjob/index.vue | 12 ++--- frontend/src/views/database/mysql/index.vue | 4 +- .../src/views/database/mysql/remote/index.vue | 15 ++---- .../src/views/database/postgresql/index.vue | 12 ++--- .../database/postgresql/remote/index.vue | 15 ++---- .../src/views/host/firewall/forward/index.vue | 12 ++--- frontend/src/views/host/firewall/ip/index.vue | 12 ++--- .../src/views/host/firewall/port/index.vue | 12 ++--- .../src/views/host/process/network/index.vue | 53 ++++++++----------- .../src/views/host/process/process/index.vue | 53 ++++++++----------- frontend/src/views/host/ssh/log/log.vue | 10 ++-- frontend/src/views/host/ssh/session/index.vue | 13 ++--- frontend/src/views/log/operation/index.vue | 12 ++--- frontend/src/views/log/website/index.vue | 36 ++++++------- frontend/src/views/setting/snapshot/index.vue | 12 ++--- .../src/views/website/runtime/go/index.vue | 14 ++--- .../src/views/website/runtime/java/index.vue | 14 ++--- .../src/views/website/runtime/node/index.vue | 14 ++--- .../src/views/website/runtime/php/index.vue | 20 +++---- frontend/src/views/website/ssl/index.vue | 2 +- frontend/src/views/website/website/index.vue | 16 +++--- 29 files changed, 190 insertions(+), 217 deletions(-) diff --git a/frontend/src/components/layout-content/index.vue b/frontend/src/components/layout-content/index.vue index d6b3b52df..bd2b3ef4a 100644 --- a/frontend/src/components/layout-content/index.vue +++ b/frontend/src/components/layout-content/index.vue @@ -105,6 +105,9 @@ const showBack = computed(() => { .content-container__toolbar { margin-top: 20px; + .el-button + .el-button { + margin: 0 !important; + } } .content-container_form { diff --git a/frontend/src/styles/common.scss b/frontend/src/styles/common.scss index 2901b40cb..146e77c81 100644 --- a/frontend/src/styles/common.scss +++ b/frontend/src/styles/common.scss @@ -375,7 +375,6 @@ html { } .tag-button { - margin-right: 10px; &.no-active { background: none; border: none; diff --git a/frontend/src/views/app-store/index.scss b/frontend/src/views/app-store/index.scss index ab8d82fcc..af3880519 100644 --- a/frontend/src/views/app-store/index.scss +++ b/frontend/src/views/app-store/index.scss @@ -85,7 +85,6 @@ } .tag-button { - margin-right: 10px; &.no-active { background: none; border: none; diff --git a/frontend/src/views/container/container/index.vue b/frontend/src/views/container/container/index.vue index c8c55a6d0..c247fc8e2 100644 --- a/frontend/src/views/container/container/index.vue +++ b/frontend/src/views/container/container/index.vue @@ -24,14 +24,13 @@