From f6bf963ca6821105d08623628208e9fdc576026d Mon Sep 17 00:00:00 2001
From: Jean-Baptiste Pasquier <contact@jbpasquier.eu>
Date: Mon, 26 Apr 2021 18:12:44 +0200
Subject: [PATCH] fix: community profile link

---
 src/styles/index.scss                                 | 11 +++++++++++
 .../widgets/hubl-communities-profile-email.pug        |  2 +-
 .../widgets/hubl-communities-profile-phone.pug        |  2 +-
 .../widgets/hubl-communities-profile-website.pug      |  2 +-
 4 files changed, 14 insertions(+), 3 deletions(-)

diff --git a/src/styles/index.scss b/src/styles/index.scss
index a5fc6673..8ae3a071 100644
--- a/src/styles/index.scss
+++ b/src/styles/index.scss
@@ -92,3 +92,14 @@ hubl-menu-empty+hubl-menu-empty {
 .two-lines-ellipsis {
   display: -webkit-box !important;
 }
+
+.link-hover {
+  text-decoration: underline;
+  &:before {
+    text-decoration: none;
+  }
+
+  &:hover {
+    text-decoration: none;
+  }
+}
\ No newline at end of file
diff --git a/src/views/partials/widgets/hubl-communities-profile-email.pug b/src/views/partials/widgets/hubl-communities-profile-email.pug
index c8cb2c68..09e3eac6 100644
--- a/src/views/partials/widgets/hubl-communities-profile-email.pug
+++ b/src/views/partials/widgets/hubl-communities-profile-email.pug
@@ -1,3 +1,3 @@
 if componentSet.has('communities') && getRoute('communities')
   solid-widget(name='hubl-communities-profile-email')
-    template ${value != "" ? `<a class="link margin-bottom-xsmall icon mdi-email-outline icon-third icon-large icon-margin-right-xsmall" href="mailto:\${value}">${value}</a>` : ""}
+    template ${value != "" ? `<a class="link margin-bottom-xsmall icon mdi-email-outline icon-third icon-large icon-margin-right-xsmall link-hover" href="mailto:\${value}">${value}</a>` : ""}
diff --git a/src/views/partials/widgets/hubl-communities-profile-phone.pug b/src/views/partials/widgets/hubl-communities-profile-phone.pug
index 3b6f0ea6..2fb95dbb 100644
--- a/src/views/partials/widgets/hubl-communities-profile-phone.pug
+++ b/src/views/partials/widgets/hubl-communities-profile-phone.pug
@@ -1,3 +1,3 @@
 if componentSet.has('communities') && getRoute('communities')
   solid-widget(name='hubl-communities-profile-phone')
-    template ${value != "" ? `<a class="link margin-bottom-xsmall icon mdi-cellphone-iphone icon-third icon-large icon-margin-right-xsmall" href="tel:\${value}">${value}</a>` : ""}
+    template ${value != "" ? `<a class="link margin-bottom-xsmall icon mdi-cellphone-iphone icon-third icon-large icon-margin-right-xsmall link-hover" href="tel:\${value}">${value}</a>` : ""}
diff --git a/src/views/partials/widgets/hubl-communities-profile-website.pug b/src/views/partials/widgets/hubl-communities-profile-website.pug
index ea5c8b20..0a760d0d 100644
--- a/src/views/partials/widgets/hubl-communities-profile-website.pug
+++ b/src/views/partials/widgets/hubl-communities-profile-website.pug
@@ -1,3 +1,3 @@
 if componentSet.has('communities') && getRoute('communities')
   solid-widget(name='hubl-communities-profile-website')
-    template ${value != "" ? `<a class="link margin-bottom-xsmall icon mdi-link-variant icon-third icon-large icon-margin-right-xsmall" href="tel:\${value}" target="_blank">${value}</a>` : ""}
+    template ${value != "" ? `<a class="link margin-bottom-xsmall icon mdi-link-variant icon-third icon-large icon-margin-right-xsmall link-hover" href="tel:\${value}" target="_blank">${value}</a>` : ""}
-- 
GitLab