diff --git a/nezha-fronted/src/assets/css/common/rightBoxCommon.scss b/nezha-fronted/src/assets/css/common/rightBoxCommon.scss index 36a1ee3c2..addf6b12e 100644 --- a/nezha-fronted/src/assets/css/common/rightBoxCommon.scss +++ b/nezha-fronted/src/assets/css/common/rightBoxCommon.scss @@ -115,10 +115,8 @@ } .el-form-item { .el-input--small.not-fixed-height { - height: 32px; - .el-input__count { - line-height: 29px; - height: 25px; + .el-textarea__inner { + min-height: 32px !important; } } } diff --git a/nezha-fronted/src/components/common/language/cn.js b/nezha-fronted/src/components/common/language/cn.js index ed1048869..33c8bed85 100644 --- a/nezha-fronted/src/components/common/language/cn.js +++ b/nezha-fronted/src/components/common/language/cn.js @@ -284,6 +284,7 @@ const cn = { chartName: '图表名称', type: '类型', url: 'URL', + name: '名称', statistics: '统计数据', sync: '同步到设备', last: '最后的', diff --git a/nezha-fronted/src/components/common/language/en.js b/nezha-fronted/src/components/common/language/en.js index ac8a9d4c2..1c571b0b5 100644 --- a/nezha-fronted/src/components/common/language/en.js +++ b/nezha-fronted/src/components/common/language/en.js @@ -295,6 +295,7 @@ const en = { type: 'Type', unit: 'Unit', url: 'URL', + name: 'Name', legend: 'Legend', statistics: 'Statistics', legendTip: 'Controls the name of the time series, using name or pattern. For example {{hostname}} will be replaced with label value for the label hostname.', diff --git a/nezha-fronted/src/components/page/dashboard/chartBox.vue b/nezha-fronted/src/components/page/dashboard/chartBox.vue index aab8faf0e..284dbdd56 100644 --- a/nezha-fronted/src/components/page/dashboard/chartBox.vue +++ b/nezha-fronted/src/components/page/dashboard/chartBox.vue @@ -185,7 +185,7 @@
- +