Tweak copyable ID UX

- don't keep the tooltip open when hovering over it
- offset the tooltip to the right, so it doesn't overlap with other
  content
- tweak colors so it pops out of the background more
- tweak elevation shadows to stand out more
- don't show node ID DID in popover
This commit is contained in:
Rūdolfs Ošiņš
2024-06-26 13:52:15 +02:00
parent b0bd692dd4
commit 5ed0565177
4 changed files with 39 additions and 48 deletions
@@ -38,10 +38,7 @@
<IconButton title="Expand peer" on:click={() => (expanded = !expanded)}>
<IconSmall name={expanded ? "chevron-down" : "chevron-right"} />
</IconButton>
<NodeId
subject="Node Id"
nodeId={peer.remote.id}
alias={peer.remote.alias} />
<NodeId nodeId={peer.remote.id} alias={peer.remote.alias} />
{#if peer.remote.delegate}
<Badge size="tiny" variant="delegate">
<IconSmall name="badge" />