mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-16 11:50:42 +08:00
feat(web): Allow clicking on node avatars
Previously the node name was always a link and the node avatar did nothing. We believe it's slightly nicer to include the avatar in the link.
This commit is contained in:
committed by
Sebastian Martinez
parent
f815b2dbca
commit
d37ccde1c4
@@ -26,8 +26,11 @@
|
||||
</style>
|
||||
|
||||
<div class="avatar-alias">
|
||||
<Avatar variant="small" {nodeId} />
|
||||
<Link styleHoverState route={{ resource: "users", did: nodeId, baseUrl }}>
|
||||
<Link
|
||||
styleHoverState
|
||||
style="display: flex; gap: 5px; align-items: center;"
|
||||
route={{ resource: "users", did: nodeId, baseUrl }}>
|
||||
<Avatar variant="small" {nodeId} />
|
||||
{#if alias}
|
||||
<span class="txt-overflow">
|
||||
{alias}
|
||||
|
||||
Reference in New Issue
Block a user