From d89df0decd298c514644bd4aa329b7176a2f0fe4 Mon Sep 17 00:00:00 2001 From: "@changcode" Date: Fri, 29 Oct 2021 18:31:52 +0800 Subject: [PATCH] =?UTF-8?q?NEZ-1138=20style:=20=E4=BF=AE=E5=A4=8DModule?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E6=A0=B7=E5=BC=8F=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nezha-fronted/src/assets/css/common/rightBoxCommon.scss | 6 ++---- nezha-fronted/src/components/common/language/cn.js | 1 + nezha-fronted/src/components/common/language/en.js | 1 + nezha-fronted/src/components/page/dashboard/chartBox.vue | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) 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 @@
- +