Skip to content

Commit

Permalink
show tooltip on mouse over
Browse files Browse the repository at this point in the history
  • Loading branch information
mpwanyi256 committed Nov 8, 2022
1 parent c75fa2a commit 4e60b6c
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions src/views/Account.vue
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,18 @@
</div>
</div>
<div v-if="address" class="account-container_address">
<v-popover offset="16" show placement="top" hideOnTargetClick="false">
<button class="btn btn-outline-light" :id="`${asset}_address_container`">
<v-popover
offset="8"
trigger="hover focus active"
show
placement="top"
hideOnTargetClick="false"
>
<button
@click.prevent="copyAddress"
class="btn btn-outline-light"
:id="`${asset}_address_container`"
>
{{ shortenAddress(address) }}
</button>
<template slot="popover">
Expand Down

0 comments on commit 4e60b6c

Please sign in to comment.