From 7c6f76f98c82d6608d4db654a012e6f87524c3c7 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Pasquier <contact@jbpasquier.eu> Date: Thu, 7 Mar 2024 15:22:50 +0100 Subject: [PATCH] fix: remove non breakable spaces --- src/components/main.js | 2 +- src/components/partials/contact-form.js | 4 ++-- src/components/widgets/display-householdurl.js | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/main.js b/src/components/main.js index f90e19b..d1db15e 100644 --- a/src/components/main.js +++ b/src/components/main.js @@ -739,7 +739,7 @@ utils.importCore().then(async (core) => { <!-- Commented: No map link in resource? --> <!-- <div class="row valign-wrapper"> <div class="col s12 text-link text-link-red"> - View map <icon-mdi-open-in-new + View map<icon-mdi-open-in-new ></icon-mdi-open-in-new> </div> </div> --> diff --git a/src/components/partials/contact-form.js b/src/components/partials/contact-form.js index 50ea5fd..b933c7e 100644 --- a/src/components/partials/contact-form.js +++ b/src/components/partials/contact-form.js @@ -92,7 +92,7 @@ importCore().then(core => { </div> <div class="row no-margin-bottom valign-wrapper"> <div class="col s12 text-link text-link-red"> - <a href="tel:${resource["dfc-b:hasPhoneNumber"]}" target="_blank">${resource["dfc-b:hasPhoneNumber"]} <icon-mdi-phone-in-talk></icon-mdi-phone-in-talk></a> + <a href="tel:${resource["dfc-b:hasPhoneNumber"]}" target="_blank">${resource["dfc-b:hasPhoneNumber"]}<icon-mdi-phone-in-talk></icon-mdi-phone-in-talk></a> </div> </div> ` : nothing} @@ -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 class="truncate" href="mailto:${resource["dfc-b:email"]}" target="_blank">${resource["dfc-b:email"]} <icon-mdi-email-outline></icon-mdi-email-outline></a> + <a class="truncate" href="mailto:${resource["dfc-b:email"]}" target="_blank">${resource["dfc-b:email"]}<icon-mdi-email-outline></icon-mdi-email-outline></a> </div> </div> </div> diff --git a/src/components/widgets/display-householdurl.js b/src/components/widgets/display-householdurl.js index 1adb1d4..ba565c3 100644 --- a/src/components/widgets/display-householdurl.js +++ b/src/components/widgets/display-householdurl.js @@ -17,7 +17,7 @@ customElements.define( ? html` <div class="row no-margin-bottom valign-wrapper"> <div class="col s12 text-link text-link-red"> - <a href="${this.value}" target="_blank">Producer website <icon-mdi-open-in-new></icon-mdi-open-in-new></a> + <a href="${this.value}" target="_blank">Producer website<icon-mdi-open-in-new></icon-mdi-open-in-new></a> </div> </div>` : ""}`; -- GitLab