fix: make profile links bigger tap targets
This commit is contained in:
parent
030ebfdb10
commit
83c90248e4
|
@ -134,7 +134,7 @@
|
||||||
<div class="col-md d-flex align-items-center">
|
<div class="col-md d-flex align-items-center">
|
||||||
<ul class="list-unstyled">
|
<ul class="list-unstyled">
|
||||||
{#each data.links as link}
|
{#each data.links as link}
|
||||||
<li><ProfileLink {link} /></li>
|
<ProfileLink {link} />
|
||||||
{/each}
|
{/each}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -20,9 +20,16 @@
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<Icon name="globe" aria-hidden />
|
|
||||||
{#if isLink}
|
{#if isLink}
|
||||||
<a href={link} rel="me nofollow noreferrer" target="_blank">{displayLink}</a>
|
<a href={link} class="text-decoration-none">
|
||||||
|
<li class="py-2 py-lg-0">
|
||||||
|
<Icon name="globe" aria-hidden class="text-body" />
|
||||||
|
<span class="text-decoration-underline">{displayLink}</span>
|
||||||
|
</li>
|
||||||
|
</a>
|
||||||
{:else}
|
{:else}
|
||||||
<span>{link}</span>
|
<li class="py-2 py-lg-0">
|
||||||
|
<Icon name="globe" aria-hidden />
|
||||||
|
<span>{displayLink}</span>
|
||||||
|
</li>
|
||||||
{/if}
|
{/if}
|
||||||
|
|
|
@ -68,7 +68,7 @@
|
||||||
<div class="col-md d-flex align-items-center">
|
<div class="col-md d-flex align-items-center">
|
||||||
<ul class="list-unstyled">
|
<ul class="list-unstyled">
|
||||||
{#each data.links as link}
|
{#each data.links as link}
|
||||||
<li><ProfileLink {link} /></li>
|
<ProfileLink {link} />
|
||||||
{/each}
|
{/each}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue