misc: add title attribute to Avatar (#50)
This will allow users to hover over the avatars in a collapsed sidebar and see the name of the community.
This commit is contained in:
1 parent
d70548f6c7
commit
9e4fcae599
2 files changed
+3
-1
No files matched your search
@@ -60,7 +60,7 @@
|
||||
alignment="left"
|
||||
href="/c/{follow.name}@{new URL(follow.actor_id).hostname}"
|
||||
>
|
||||
<Avatar url={follow.icon} alt={follow.name} width={20} slot="icon" />
|
||||
<Avatar url={follow.icon} alt={follow.name} title={follow.title} width={20} slot="icon" />
|
||||
<span class:hidden={!expanded}>{follow.title}</span>
|
||||
</Button>
|
||||
{/each}
|
||||
|
||||
Reference in new issue
Block a user