Skip to content

Commit

Permalink
🩹 Fix purchase link overflow & add copied response
Browse files Browse the repository at this point in the history
  • Loading branch information
nwingt committed Nov 14, 2023
1 parent 75f1b81 commit 5983391
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion pages/nft-book-store/status/[classId].vue
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@
</UFormGroup>

<UButton
class="font-mono"
class="font-mono break-all"
:label="`${purchaseLink}`"
:to="purchaseLink"
variant="outline"
Expand Down Expand Up @@ -963,6 +963,12 @@ async function updateSettings () {
async function copyPurchaseLink () {
await navigator.clipboard.writeText(purchaseLink.value)
toast.add({
icon: 'i-heroicons-check-circle',
title: 'Copied purchase link to clipboard',
timeout: 2000,
color: 'green'
})
}
</script>

0 comments on commit 5983391

Please sign in to comment.