made sidebar profile name clickable
This commit is contained in:
parent
36a74bb4e5
commit
7ecd92fbed
|
@ -129,7 +129,7 @@
|
||||||
<div id="account-button">
|
<div id="account-button">
|
||||||
<img src={$client.user.avatar_url} class="account-avatar" height="64px" alt="" aria-hidden="true" on:click={() => play_sound()}>
|
<img src={$client.user.avatar_url} class="account-avatar" height="64px" alt="" aria-hidden="true" on:click={() => play_sound()}>
|
||||||
<div class="account-name" aria-hidden="true">
|
<div class="account-name" aria-hidden="true">
|
||||||
<span class="nickname" title={$client.user.nickname}>{$client.user.nickname}</span>
|
<a href={$client.user.url} class="nickname" title={$client.user.nickname}>{$client.user.nickname}</a>
|
||||||
<span class="username" title={`@${$client.user.username}@${$client.user.host}`}>
|
<span class="username" title={`@${$client.user.username}@${$client.user.host}`}>
|
||||||
{`@${$client.user.username}@${$client.user.host}`}
|
{`@${$client.user.username}@${$client.user.host}`}
|
||||||
</span>
|
</span>
|
||||||
|
@ -312,6 +312,7 @@
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
font-size: .8em;
|
font-size: .8em;
|
||||||
|
color: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
.username {
|
.username {
|
||||||
|
|
Loading…
Reference in a new issue