diff --git a/nezha-fronted/src/assets/css/components/common/rightBox/chartRightBox/chartRightBox.scss b/nezha-fronted/src/assets/css/components/common/rightBox/chartRightBox/chartRightBox.scss index d10c6b6c1..19928980b 100644 --- a/nezha-fronted/src/assets/css/components/common/rightBox/chartRightBox/chartRightBox.scss +++ b/nezha-fronted/src/assets/css/components/common/rightBox/chartRightBox/chartRightBox.scss @@ -7,6 +7,13 @@ font-size: 14px; .el-form { padding-top: 0px; + .thresholds-from-item{ + margin-bottom: 0; + flex: 1; + } + .el-form-item__error { + padding-top: 0; + } } .chart-title-config { border: 1px solid $--border-color-light; @@ -46,6 +53,12 @@ margin-bottom: 10px; align-items: center; justify-items: center; + .el-form-item__content{ + display: flex; + align-items: center; + justify-items: center; + width: 100%; + } .el-input-number--small{ display: inline-block; flex: 1; diff --git a/nezha-fronted/src/components/common/rightBox/chart/logsChartConfig.vue b/nezha-fronted/src/components/common/rightBox/chart/chartConfig.vue similarity index 56% rename from nezha-fronted/src/components/common/rightBox/chart/logsChartConfig.vue rename to nezha-fronted/src/components/common/rightBox/chart/chartConfig.vue index 30e0f2d6f..a5738eccb 100644 --- a/nezha-fronted/src/components/common/rightBox/chart/logsChartConfig.vue +++ b/nezha-fronted/src/components/common/rightBox/chart/chartConfig.vue @@ -1,9 +1,20 @@