fix: text-overflow (#13775)

Co-authored-by: Udit Takkar <[email protected]>
This commit is contained in:
sean-brydonandUdit Takkar authored and GitHub committed 2024-02-20 10:23:49 +00:00
1 parent 9e84eb1b2c
commit f94d696885
1 file changed
+4 -2
+4 -2
View File
@@ -752,8 +752,10 @@ const NavigationItem: React.FC<{
/>
)}
{isLocaleReady ? (
<span className="hidden w-full justify-between lg:flex" data-testid={`${item.name}-test`}>
<div className="flex">{t(item.name)}</div>
<span
className="hidden w-full justify-between truncate text-ellipsis lg:flex"
data-testid={`${item.name}-test`}>
{t(item.name)}
{item.badge && item.badge}
</span>
) : (