From 3df3b800f8922a06241d5c4848cda9a666c2ec80 Mon Sep 17 00:00:00 2001
From: Linus Rath <139418639+rathlinus@users.noreply.github.com>
Date: Wed, 4 Nov 2026 11:04:28 +0100
Subject: [PATCH] fix: wrap a long contact name to two lines with the full name
on hover
---
.../contacts/__tests__/contacts-ux-pim.test.tsx | 11 +++++++++++
components/contacts/contact-detail.tsx | 3 ++-
2 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/components/contacts/__tests__/contacts-ux-pim.test.tsx b/components/contacts/__tests__/contacts-ux-pim.test.tsx
index de42bb5d7..c0dbef52c 100644
--- a/components/contacts/__tests__/contacts-ux-pim.test.tsx
+++ b/components/contacts/__tests__/contacts-ux-pim.test.tsx
@@ -45,6 +45,17 @@ describe('pim-19: standard words read as people say them', () => {
});
});
+describe('pim-21: a long name in the contact header', () => {
+ it('wraps to two lines and shows the whole name on hover', () => {
+ const long = { ...anna, name: { full: 'Maximiliane Alexandra Friederike von Hohenzollern-Sigmaringen-Wittelsbach' } };
+ render(
“{nicknames.map(n => n.name).join(", ")}”
)}