move & resize the contact edit & info buttons
This commit is contained in:
@@ -57,7 +57,7 @@
|
|||||||
<h2 class="text-xl font-semibold mb-2">
|
<h2 class="text-xl font-semibold mb-2">
|
||||||
{{ givenName }}
|
{{ givenName }}
|
||||||
<router-link :to="{ name: 'new-edit-account' }">
|
<router-link :to="{ name: 'new-edit-account' }">
|
||||||
<fa icon="pen" class="text-xs text-blue-500 mb-1"></fa>
|
<fa icon="pen" class="text-xs text-blue-500 ml-2 mb-1"></fa>
|
||||||
</router-link>
|
</router-link>
|
||||||
</h2>
|
</h2>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -90,20 +90,27 @@
|
|||||||
<EntityIcon
|
<EntityIcon
|
||||||
:contact="contact"
|
:contact="contact"
|
||||||
:iconSize="24"
|
:iconSize="24"
|
||||||
class="inline-block align-text-bottom border border-slate-300 rounded"
|
class="inline-block align-text-bottom border border-slate-300 rounded cursor-pointer"
|
||||||
@click="showLargeIdenticon = contact"
|
@click="showLargeIdenticon = contact"
|
||||||
/>
|
/>
|
||||||
{{ contact.name || AppString.NO_CONTACT_NAME }}
|
{{ contact.name || AppString.NO_CONTACT_NAME }}
|
||||||
<button
|
<button
|
||||||
class="text-sm uppercase bg-gradient-to-b from-slate-400 to-slate-700 shadow-[inset_0_-1px_0_0_rgba(0,0,0,0.5)] text-white px-1 rounded-md"
|
|
||||||
@click="
|
@click="
|
||||||
contactEdit = contact;
|
contactEdit = contact;
|
||||||
contactNewName = contact.name || '';
|
contactNewName = contact.name || '';
|
||||||
"
|
"
|
||||||
title="Edit"
|
title="Edit"
|
||||||
>
|
>
|
||||||
<fa icon="pen" class="fa-fw" />
|
<fa icon="pen" class="text-sm text-blue-500 ml-2 mb-1"></fa>
|
||||||
</button>
|
</button>
|
||||||
|
<router-link
|
||||||
|
:to="{
|
||||||
|
path: '/did/' + encodeURIComponent(contact.did),
|
||||||
|
}"
|
||||||
|
title="See more about this DID"
|
||||||
|
>
|
||||||
|
<fa icon="circle-info" class="text-blue-500 ml-6" />
|
||||||
|
</router-link>
|
||||||
</h2>
|
</h2>
|
||||||
<div class="text-sm truncate">
|
<div class="text-sm truncate">
|
||||||
{{ contact.did }}
|
{{ contact.did }}
|
||||||
@@ -118,14 +125,6 @@
|
|||||||
>
|
>
|
||||||
<fa icon="copy" class="text-slate-400 fa-fw"></fa>
|
<fa icon="copy" class="text-slate-400 fa-fw"></fa>
|
||||||
</button>
|
</button>
|
||||||
<router-link
|
|
||||||
:to="{
|
|
||||||
path: '/did/' + encodeURIComponent(contact.did),
|
|
||||||
}"
|
|
||||||
title="See more about this DID"
|
|
||||||
>
|
|
||||||
<fa icon="circle-info" class="fa-fw ml-2 text-blue-500 rounded" />
|
|
||||||
</router-link>
|
|
||||||
<span v-show="showDidCopy">Copied DID</span>
|
<span v-show="showDidCopy">Copied DID</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="text-sm truncate" v-if="contact.publicKeyBase64">
|
<div class="text-sm truncate" v-if="contact.publicKeyBase64">
|
||||||
|
|||||||
Reference in New Issue
Block a user