From d6a421109e11b4b5ffff8615e666f1b8733784ac Mon Sep 17 00:00:00 2001 From: fit2cloud-chenyw Date: Wed, 2 Jun 2021 16:21:56 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=BF=87=E6=BB=A4=E7=BB=84=E4=BB=B6?= =?UTF-8?q?=E5=BC=B9=E6=A1=86=E6=A0=B7=E5=BC=8F=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/styles/index.scss | 8 ++++++-- frontend/src/views/panel/edit/index.vue | 2 +- frontend/src/views/panel/filter/filterDialog.vue | 9 +++++---- 3 files changed, 12 insertions(+), 7 deletions(-) diff --git a/frontend/src/styles/index.scss b/frontend/src/styles/index.scss index 44ea9d2e00..5f4cf7b031 100644 --- a/frontend/src/styles/index.scss +++ b/frontend/src/styles/index.scss @@ -90,11 +90,15 @@ div:focus { width: 50% !important; .el-dialog__header{ - background-color: #f4f4f5; + // background-color: #f4f4f5; padding: 10px 20px !important; + + .el-dialog__headerbtn { + top: 15px !important; + } } .el-dialog__body{ - padding: 1px 20px !important; + padding: 1px 15px !important; } } diff --git a/frontend/src/views/panel/edit/index.vue b/frontend/src/views/panel/edit/index.vue index 41277a5ad9..31ffdab3af 100644 --- a/frontend/src/views/panel/edit/index.vue +++ b/frontend/src/views/panel/edit/index.vue @@ -127,7 +127,7 @@ :in-draw="false" /> -
+
{{ $t('commons.cancel') }} {{ $t('commons.confirm') }} diff --git a/frontend/src/views/panel/filter/filterDialog.vue b/frontend/src/views/panel/filter/filterDialog.vue index 72caacdb66..bf47ec0b71 100644 --- a/frontend/src/views/panel/filter/filterDialog.vue +++ b/frontend/src/views/panel/filter/filterDialog.vue @@ -521,7 +521,7 @@ export default { .ms-main-container { height: 100%; min-height: 400px; - + padding: 5px 10px; } .filter-field { @@ -588,13 +588,14 @@ export default { } .filter-content { - height: calc(50vh - 130px); + height: calc(50vh - 120px); top: 160px; } .filter-dialog-tabs { border: 1px solid #E6E6E6; + padding: 10px; height: 100%; >>> div.el-tabs__content { height: calc(100% - 55px); @@ -602,12 +603,12 @@ export default { } .filter-common { - margin: 10px 10px; + margin: 10px 5px; } .component-header { - margin: 20px 10px !important; + margin: 5px 5px 15px; } .component-result-content {