From 108a8f553e2a1ec9abd082480accd155188e9361 Mon Sep 17 00:00:00 2001 From: Paul Thiel Date: Sun, 14 May 2023 17:11:25 +0200 Subject: [PATCH] fix(Steps): add text-overflow ellipsis --- components/lib/steps/Steps.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/components/lib/steps/Steps.vue b/components/lib/steps/Steps.vue index 7c1ebf33e..048535d44 100755 --- a/components/lib/steps/Steps.vue +++ b/components/lib/steps/Steps.vue @@ -226,6 +226,7 @@ export default { display: flex; justify-content: center; flex: 1 1 auto; + overflow: hidden; } .p-steps-item .p-menuitem-link { @@ -246,6 +247,9 @@ export default { .p-steps-title { white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + max-width: 100%; } .p-steps-number {