diff --git a/packages/builder/src/components/common/NavItem.svelte b/packages/builder/src/components/common/NavItem.svelte
index a65da55c8f..2c8a862535 100644
--- a/packages/builder/src/components/common/NavItem.svelte
+++ b/packages/builder/src/components/common/NavItem.svelte
@@ -102,7 +102,7 @@
{/if}
- {text}
+ {text}
{#if selectedBy}
{/if}
@@ -227,9 +227,6 @@
.text {
font-weight: 600;
font-size: 12px;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
flex: 1 1 auto;
color: var(--spectrum-global-color-gray-900);
order: 2;
@@ -238,6 +235,11 @@
align-items: center;
gap: 8px;
}
+ .text span {
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ }
.scrollable .text {
flex: 0 0 auto;
max-width: 160px;