From 65ae782fb77c792a6ad701b63ee82c5fc03be485 Mon Sep 17 00:00:00 2001
From: Jean-Baptiste Pasquier <contact@jbpasquier.eu>
Date: Thu, 7 Mar 2024 13:14:37 +0100
Subject: [PATCH] fix:
 https://github.com/openfoodfoundation/sib-discovery-components/issues/4

---
 src/components/partials/contact-form.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/components/partials/contact-form.js b/src/components/partials/contact-form.js
index 5c7e29c..50ea5fd 100644
--- a/src/components/partials/contact-form.js
+++ b/src/components/partials/contact-form.js
@@ -101,7 +101,7 @@ importCore().then(core => {
                           </div>
                           <div class="row no-margin-bottom valign-wrapper">
                             <div class="col s12 text-link text-link-red">
-                              <a href="mailto:${resource["dfc-b:email"]}" target="_blank">${resource["dfc-b:email"]}&nbsp;<icon-mdi-email-outline></icon-mdi-email-outline></a>
+                              <a class="truncate" href="mailto:${resource["dfc-b:email"]}" target="_blank">${resource["dfc-b:email"]}&nbsp;<icon-mdi-email-outline></icon-mdi-email-outline></a>
                             </div>
                           </div>
                         </div>
-- 
GitLab