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; /*超出的设置为省略号*/ + } } } }