From 77c9dfa6f27aa62d71309545d2cf0018382b23a6 Mon Sep 17 00:00:00 2001 From: jianneng-fit2cloud Date: Fri, 31 May 2024 17:13:31 +0800 Subject: [PATCH] =?UTF-8?q?style(=E4=BB=AA=E8=A1=A8=E6=9D=BF):=20=E5=9B=BE?= =?UTF-8?q?=E8=A1=A8=E9=85=8D=E7=BD=AE=E9=A1=B9=E4=B8=8E=E6=BB=9A=E5=8A=A8?= =?UTF-8?q?=E6=9D=A1=E9=97=B4=E8=B7=9D=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/CollapseSwitchItem.vue | 2 +- .../components/QuadrantSelector.vue | 54 +------------------ .../views/chart/components/editor/index.vue | 4 +- 3 files changed, 5 insertions(+), 55 deletions(-) diff --git a/core/core-frontend/src/components/collapse-switch-item/src/CollapseSwitchItem.vue b/core/core-frontend/src/components/collapse-switch-item/src/CollapseSwitchItem.vue index e46fd207b6..046ce69e8d 100644 --- a/core/core-frontend/src/components/collapse-switch-item/src/CollapseSwitchItem.vue +++ b/core/core-frontend/src/components/collapse-switch-item/src/CollapseSwitchItem.vue @@ -69,7 +69,7 @@ const switchValue = computed({ display: flex; justify-content: space-between; align-items: center; - padding-right: 8px; + padding-right: 10px; flex-grow: 1; :deep(.ed-switch.is-checked .ed-switch__core > .ed-switch__action) { left: calc(100% - 12px); diff --git a/core/core-frontend/src/views/chart/components/editor/editor-style/components/QuadrantSelector.vue b/core/core-frontend/src/views/chart/components/editor/editor-style/components/QuadrantSelector.vue index 2c839f1ea4..d50ab591f0 100644 --- a/core/core-frontend/src/views/chart/components/editor/editor-style/components/QuadrantSelector.vue +++ b/core/core-frontend/src/views/chart/components/editor/editor-style/components/QuadrantSelector.vue @@ -142,7 +142,6 @@ onMounted(() => { :label="t('chart.split_line')" class="form-item" :class="'form-item-' + themes" - style="padding-right: 4px" > {
- + {
- + { { { border-color: rgba(235, 235, 235, 0.15); } } - .quadrant-tab-header { - --ed-tabs-header-height: 34px; - --custom-tab-color: #646a73; - - :deep(.ed-tabs__nav-wrap::after) { - background-color: unset; - } - - &.dark { - --custom-tab-color: #a6a6a6; - } - - height: 100%; - :deep(.ed-tabs__header) { - border-top: solid 1px @side-outline-border-color; - } - :deep(.ed-tabs__item) { - font-weight: 400; - font-size: 12px; - padding: 0 12px !important; - margin-right: 0 !important; - color: var(--custom-tab-color); - } - :deep(.is-active) { - font-weight: 500; - color: var(--ed-color-primary, #3370ff); - } - - :deep(.ed-tabs__nav-scroll) { - padding-left: 0 !important; - } - - :deep(.ed-tabs__header) { - margin: 0 !important; - } - - :deep(.ed-tabs__content) { - height: calc(100% - 33px); - overflow-y: auto; - overflow-x: hidden; - } - } .padding-tab { padding: 0; height: 100%; diff --git a/core/core-frontend/src/views/chart/components/editor/index.vue b/core/core-frontend/src/views/chart/components/editor/index.vue index b2138a309e..41746af7ff 100644 --- a/core/core-frontend/src/views/chart/components/editor/index.vue +++ b/core/core-frontend/src/views/chart/components/editor/index.vue @@ -3166,7 +3166,7 @@ span { display: flex; transition: 0.5s; .padding-lr { - padding: 0 8px; + padding: 0 10px; &.no-top-border { border-top: none !important; @@ -3217,7 +3217,7 @@ span { } :deep(.ed-collapse-item__content) { - padding: 16px 8px 0; + padding: 16px 10px 0; border: none; :deep(.ed-checkbox) { height: 20px;