From 85af1d6c94c17d6b2bc6d9f00390356d164bb141 Mon Sep 17 00:00:00 2001 From: Mikael Brevik Date: Mon, 9 Dec 2024 20:44:34 +0100 Subject: [PATCH] fix: overflow for contact box --- src/components/employeeCard/employeeCard.module.css | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/components/employeeCard/employeeCard.module.css b/src/components/employeeCard/employeeCard.module.css index a068f41e1..ab5b04a37 100644 --- a/src/components/employeeCard/employeeCard.module.css +++ b/src/components/employeeCard/employeeCard.module.css @@ -9,6 +9,8 @@ flex-direction: column; justify-content: space-between; gap: 0.375rem; + + overflow: hidden; } .contactInfo { @@ -27,6 +29,12 @@ .employeePhone a { color: currentColor; } +.employeeEmail a { + display: block; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} .employeeWrapper { container-type: inline-size;