From e12e4eb4b6bd7d9e83e9c0f291cf1f93d4f362d7 Mon Sep 17 00:00:00 2001 From: zhangyu Date: Fri, 29 Oct 2021 11:17:11 +0800 Subject: [PATCH] =?UTF-8?q?NEZ-1132=20fix:=20Alert=20silence=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=EF=BC=8CMatcher=E5=AD=97=E6=AE=B5=E5=A4=AA=E9=95=BF?= =?UTF-8?q?=E7=9A=84=E6=95=B0=E6=8D=AE=E6=98=BE=E7=A4=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nezha-fronted/src/components/page/alert/nzAlertTag.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nezha-fronted/src/components/page/alert/nzAlertTag.vue b/nezha-fronted/src/components/page/alert/nzAlertTag.vue index 4d33f7ac8..b853215d0 100644 --- a/nezha-fronted/src/components/page/alert/nzAlertTag.vue +++ b/nezha-fronted/src/components/page/alert/nzAlertTag.vue @@ -30,12 +30,11 @@ export default { border-radius: 4px; display: inline-block; box-sizing: content-box; + display: inline-flex; } .nz-alert-tag__label { border-radius: 3px 0 0 3px; padding: 0 4px; - min-width: 36px; - max-width: 100px; text-align: center; text-overflow: ellipsis; white-space: nowrap; @@ -47,6 +46,7 @@ export default { margin-left: -1px; } .nz-alert-tag__content { + flex: 1; border-radius: 0 3px 3px 0; padding: 0 4px; min-width: 36px;