diff --git a/nezha-fronted/src/components/page/dashboard/chartMetric.vue b/nezha-fronted/src/components/page/dashboard/chartMetric.vue index 674b2fc74..06c001601 100644 --- a/nezha-fronted/src/components/page/dashboard/chartMetric.vue +++ b/nezha-fronted/src/components/page/dashboard/chartMetric.vue @@ -30,10 +30,10 @@ } .li-list-part-label-val-list { width: 100%; - height: 165px; + height: 145px; border: 1px solid #cfcfcf; overflow-y: auto; - margin-top: -10px;/*21*/ + margin-top: 20px;/*21*/ border: 0px; } .no-list-style{ @@ -75,12 +75,12 @@ {{$t('dashboard.metric.normal')}} - + {{$t('dashboard.metric.expert')}} - + {{$t('dashboard.metric.normal')}} diff --git a/nezha-fronted/src/components/page/dashboard/chartMetricForPreview.vue b/nezha-fronted/src/components/page/dashboard/chartMetricForPreview.vue index 0aa8d3ef2..2b5dcee94 100644 --- a/nezha-fronted/src/components/page/dashboard/chartMetricForPreview.vue +++ b/nezha-fronted/src/components/page/dashboard/chartMetricForPreview.vue @@ -30,10 +30,10 @@ } .li-list-part-label-val-list { width: 100%; - height: 165px; + height: 145px; border: 1px solid #cfcfcf; overflow-y: auto; - margin-top: -10px;/*21*/ + margin-top: 20px;/*21*/ border: 0px; } .no-list-style{ @@ -75,12 +75,12 @@ {{$t('dashboard.metric.normal')}} - + {{$t('dashboard.metric.expert')}} - + {{$t('dashboard.metric.normal')}} @@ -132,7 +132,8 @@ - + + {{item.name}} diff --git a/nezha-fronted/src/components/page/dashboard/metricSet.scss b/nezha-fronted/src/components/page/dashboard/metricSet.scss index d0177524a..9400d8de0 100644 --- a/nezha-fronted/src/components/page/dashboard/metricSet.scss +++ b/nezha-fronted/src/components/page/dashboard/metricSet.scss @@ -21,6 +21,7 @@ border-top: 1px solid #dfe7f2; border-bottom: 1px solid #dfe7f2; padding: 5px 0; + margin-left:3px; .operate-area-title { padding: 5px 0; font-size: 14px; @@ -48,8 +49,11 @@ .mt-10{ margin-top:10px; } - .nx-btn-disabled{ - cursor:not-allowed; + .ml-3{ + margin-left:3px; + } + .btn-disabled-cursor-not-allowed{ + cursor:not-allowed !important; } .w-select{ width:130px; diff --git a/nezha-fronted/src/components/page/dashboard/metricSet.vue b/nezha-fronted/src/components/page/dashboard/metricSet.vue index 089703a6c..df90b0be1 100644 --- a/nezha-fronted/src/components/page/dashboard/metricSet.vue +++ b/nezha-fronted/src/components/page/dashboard/metricSet.vue @@ -11,20 +11,20 @@ @on-change-condition="getCondition" > - + {{$t('dashboard.metric.previewChart')}} {{chartSwitchWord}} {{$t('dashboard.metric.saveChartToPanel')}}: {{$t('dashboard.metric.createPanel')}} {{$t('dashboard.metric.selectPanel')}} @@ -33,7 +33,7 @@ - @@ -71,7 +71,7 @@