feat: Fixed copy button for mobile
All checks were successful
Build Docker / Build Image (push) Successful in 22s

This commit is contained in:
2024-02-07 16:12:31 +11:00
parent 4c08d4e24e
commit 97f7792612
4 changed files with 11 additions and 5 deletions

View File

@@ -66,7 +66,7 @@
<div class="card" style="margin: auto;max-width: 500px;margin-top: 50px;">
<div class="card-body text-center">
<h4 class="card-title">{{address}}</h4><img src="/qr/{{address}}">
<p class="card-text">Use this address to receive HNS or Handshake domains from other people or wallets.</p><a class="card-link" id="copyLink" href="javascript:;" address="{{address}}" onclick="copyAddress()">Copy</a>
<p class="card-text">Use this address to receive HNS or Handshake domains from other people or wallets.</p><textarea id="data" style="display: none;">{{address}}</textarea><button class="btn btn-primary" id="copyButton" type="button" onclick="copyToClipboard()">Copy</button>
</div>
</div>
</div>