From 6daada63733e8927a115d1cf6787d99f3254a63a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=8A=B2=E6=9D=BE?= Date: Mon, 20 Apr 2020 17:21:52 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E4=BF=AE=E5=A4=8D=E6=9C=89=E4=BA=9B?= =?UTF-8?q?=E6=8C=89=E9=92=AE=E7=BB=84=E6=9C=89=E7=A9=BA=E7=99=BD=E9=97=B4?= =?UTF-8?q?=E9=9A=99=E7=9A=84=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/stylus/main.scss | 15 +++++++-- .../bottomBox/tabs/endpointQueryTab.vue | 4 +-- .../common/rightBox/addEndpointBox.vue | 32 +++++++++---------- 3 files changed, 29 insertions(+), 22 deletions(-) diff --git a/nezha-fronted/src/assets/stylus/main.scss b/nezha-fronted/src/assets/stylus/main.scss index f01de1dc5..1f17fdc68 100644 --- a/nezha-fronted/src/assets/stylus/main.scss +++ b/nezha-fronted/src/assets/stylus/main.scss @@ -258,7 +258,7 @@ li{ } .nz-btn-group { border-radius: 4px; - display: inline-block; + display: flex; } .nz-btn-group-size-small { max-height: 24px; @@ -314,11 +314,14 @@ li{ padding: 0 5px; font-size: 12px; } +.input-x-mini-22 .el-input__icon { + line-height: 22px; +} .input-x-mini-24 .el-input__inner { height: 24px; line-height: 24px; padding: 0 10px; - font-size: 13px; + font-size: 12px; } .input-x-mini-24 .el-input__icon { line-height: 24px; @@ -1642,7 +1645,13 @@ li{ .el-table__fixed-body-wrapper { height: calc(100% - 42px) !important; } - +.ant-table-scroll { + max-height: unset !important; + height: 100%; +} +.ant-table-scroll .el-table { + height: 100% !important; +} /*model侧滑中下拉框*/ .autocomplete-dropdown { display: flex; diff --git a/nezha-fronted/src/components/common/bottomBox/tabs/endpointQueryTab.vue b/nezha-fronted/src/components/common/bottomBox/tabs/endpointQueryTab.vue index df3c9ce68..7036001a5 100644 --- a/nezha-fronted/src/components/common/bottomBox/tabs/endpointQueryTab.vue +++ b/nezha-fronted/src/components/common/bottomBox/tabs/endpointQueryTab.vue @@ -49,7 +49,7 @@
- - <!– {{hideSameLabels?scope.row.simpleElement: scope.row.element}}–> + {{hideSameLabels?scope.row.simpleElement: scope.row.element}} {{$t('asset.asset')}} -