add node icon to search results

This commit is contained in:
liamcottle
2024-09-04 12:32:17 +12:00
parent 7f05a68627
commit 17cd661c6a
2 changed files with 13 additions and 10 deletions

View File

@ -53,7 +53,7 @@
<div class="mr-2 mt-2">
<a target="_blank" :href="`/?node_id=${message.from}`">
<div class="flex rounded-full h-12 w-12 text-white shadow" :class="[ `bg-[${getNodeColour(message.from)}]` ]">
<div class="mx-auto my-auto">{{ getNodeShortName(message.from) }}</div>
<div class="mx-auto my-auto drop-shadow-sm">{{ getNodeShortName(message.from) }}</div>
</div>
</a>
</div>