From c1ed41785a7710edacd98380e0763f867216cb31 Mon Sep 17 00:00:00 2001 From: "@changcode" Date: Mon, 27 Sep 2021 15:39:23 +0800 Subject: [PATCH] =?UTF-8?q?style=EF=BC=9A=20alert=20Rule=20=E4=B8=8B?= =?UTF-8?q?=E6=8B=89=E6=A1=86=E6=A0=B7=E5=BC=8F=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/assets/css/common/rightBoxCommon.scss | 6 ++++++ .../src/components/common/elementSet.vue | 5 +++-- .../components/common/rightBox/alertRuleBox.vue | 16 ++-------------- .../common/rightBox/alertSilenceBox.vue | 4 ++-- .../src/components/common/table/nzDataList.vue | 4 +++- .../components/page/config/operationRecord.vue | 1 + .../page/config/system/apiKeyTable.vue | 2 +- 7 files changed, 18 insertions(+), 20 deletions(-) diff --git a/nezha-fronted/src/assets/css/common/rightBoxCommon.scss b/nezha-fronted/src/assets/css/common/rightBoxCommon.scss index 04dad3bfd..ead66c37f 100644 --- a/nezha-fronted/src/assets/css/common/rightBoxCommon.scss +++ b/nezha-fronted/src/assets/css/common/rightBoxCommon.scss @@ -315,6 +315,12 @@ margin-top: 0 !important; margin-bottom: 0 !important; } +.api-select.right-public-box-select-top.right-public-box-dropdown-top { + width: 210px; + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; +} .dc-dropdown.right-public-box-dropdown-top,.right-public-box-select-top.right-public-box-dropdown-top { margin: 5px 0 !important; } diff --git a/nezha-fronted/src/components/common/elementSet.vue b/nezha-fronted/src/components/common/elementSet.vue index 9dcd22fc5..e4ea8a59d 100644 --- a/nezha-fronted/src/components/common/elementSet.vue +++ b/nezha-fronted/src/components/common/elementSet.vue @@ -1,5 +1,5 @@