diff --git a/nezha-fronted/src/assets/stylus/main.scss b/nezha-fronted/src/assets/stylus/main.scss index e43cf19ee..9a7762789 100644 --- a/nezha-fronted/src/assets/stylus/main.scss +++ b/nezha-fronted/src/assets/stylus/main.scss @@ -126,11 +126,12 @@ li{ } .nz-btn-metric-bottom{ position: fixed; - left:52%; - bottom:30px; + right:37%; + top:95%; + margin-bottom:30px; } .nz-btn-metricset-left{ - margin: 0 20px 30px 515px; + margin: 0 20px 30px 780px; } .nz-btn-metric-bottom-left{ margin-right:30px; @@ -268,7 +269,6 @@ li{ .nz-input-append { position: absolute; right: 8px; - line-height: 38px; color: #666; } /* end--el-input扩展 */ diff --git a/nezha-fronted/src/components/page/dashboard/chartMetric.vue b/nezha-fronted/src/components/page/dashboard/chartMetric.vue index f30f8d51b..6f3856efb 100644 --- a/nezha-fronted/src/components/page/dashboard/chartMetric.vue +++ b/nezha-fronted/src/components/page/dashboard/chartMetric.vue @@ -92,20 +92,29 @@ .li-list-part-label-val-list .el-select--mini { width: calc(100% - 45px); } + .nz-tab-chart-item-box{ + padding:0; + display: inline-block; + } + .nz-tab-chart-style-left{ + margin-left:40px; + } + + +
{{elementInfo.metric}}
@@ -148,7 +159,9 @@
+ = +
@@ -165,6 +178,7 @@
+
diff --git a/nezha-fronted/src/components/page/dashboard/chartMetricForPreview.vue b/nezha-fronted/src/components/page/dashboard/chartMetricForPreview.vue index 47ea1c87d..0aa841a46 100644 --- a/nezha-fronted/src/components/page/dashboard/chartMetricForPreview.vue +++ b/nezha-fronted/src/components/page/dashboard/chartMetricForPreview.vue @@ -1,28 +1,28 @@