fix: community profile link

This commit is contained in:
Jean-Baptiste Pasquier 2021-04-26 18:12:44 +02:00
parent d9e52e9968
commit f6bf963ca6
4 changed files with 14 additions and 3 deletions

View File

@ -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;
}
}

View File

@ -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>` : ""}

View File

@ -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>` : ""}

View File

@ -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>` : ""}