From a3d77f35574d43983a05469367a68c6d42175876 Mon Sep 17 00:00:00 2001 From: "851673013@qq.com" <851673013@qq.com> Date: Tue, 14 Jun 2022 16:25:15 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BA=94=E7=94=A8=E8=B5=84=E6=BA=90=E8=AF=A6?= =?UTF-8?q?=E6=83=85bug=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Application/ApplicationDeploymentAndSecurity.vue | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/front/src/views/detailsAll/components/Application/ApplicationDeploymentAndSecurity.vue b/front/src/views/detailsAll/components/Application/ApplicationDeploymentAndSecurity.vue index 9449182a..f28b7305 100644 --- a/front/src/views/detailsAll/components/Application/ApplicationDeploymentAndSecurity.vue +++ b/front/src/views/detailsAll/components/Application/ApplicationDeploymentAndSecurity.vue @@ -169,10 +169,17 @@ margin-right: 0.7rem; color: rgba(33, 41, 86, 0.8); font-size: 0.2rem; - max-width: 9.35rem; + max-width: 5.84rem; overflow: hidden; /*超出的隐藏*/ white-space: nowrap; text-overflow: ellipsis; /*超出的设置为省略号*/ + span { + display: inline-block; + max-width: 4rem; + overflow: hidden; /*超出的隐藏*/ + white-space: nowrap; + text-overflow: ellipsis; /*超出的设置为省略号*/ + } } } }