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 8d4a8728c..c0a278426 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 @@ -46,6 +46,24 @@ margin-bottom: 10px; box-sizing: border-box; height: 32px; + .chart-title-content{ + flex: 1; + display: flex; + height: 100%; + .el-input--small { + padding: 3px; + line-height: 24px; + input{ + height: 26px; + line-height: 26px; + } + } + } + .hide-input { + input{ + border: none !important; + } + } .nz-icon{ cursor: pointer; } diff --git a/nezha-fronted/src/components/common/rightBox/chart/chartConfig.vue b/nezha-fronted/src/components/common/rightBox/chart/chartConfig.vue index 61e4c7241..d021acc94 100644 --- a/nezha-fronted/src/components/common/rightBox/chart/chartConfig.vue +++ b/nezha-fronted/src/components/common/rightBox/chart/chartConfig.vue @@ -6,29 +6,51 @@ :rules="rules" label-position= "top" label-width="120px" + @submit.native.prevent >