From eccf4a84a0afeef6643072bb26cbee78671f1b77 Mon Sep 17 00:00:00 2001 From: Fine Date: Thu, 8 Jun 2023 11:18:40 +0800 Subject: [PATCH] fix: style --- src/views/dashboard/configuration/widget/metric/Index.vue | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/views/dashboard/configuration/widget/metric/Index.vue b/src/views/dashboard/configuration/widget/metric/Index.vue index 44a07d8f..d849b23c 100644 --- a/src/views/dashboard/configuration/widget/metric/Index.vue +++ b/src/views/dashboard/configuration/widget/metric/Index.vue @@ -102,9 +102,7 @@ limitations under the License. --> v-for="(type, index) in setVisTypes" :key="index" @click="changeChartType(type)" - :class="{ - active: type.value === graph.type, - }" + :class="{ active: type.value === graph.type }" > {{ type.label }} @@ -641,8 +639,8 @@ limitations under the License. --> border-radius: 3px; color: #606266; outline: none; - height: 26px; margin-right: 5px; + min-height: 26px; &:focus { border-color: #409eff;