diff options
| author | Adam Soltys <[email protected]> | 2023-01-25 23:19:53 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2023-01-25 23:19:53 -0800 |
| commit | c258fd74e838eefe6677541aa6e780fc595eb152 (patch) | |
| tree | ef54a69abfde4006a1281744bb9206f40ba02adf /src/routes/(app)/invoice | |
| parent | f1b3efe88204ba203667a8dd67ac8ab598af1959 (diff) | |
| download | coinos-ui-c258fd74e838eefe6677541aa6e780fc595eb152.tar.gz coinos-ui-c258fd74e838eefe6677541aa6e780fc595eb152.zip | |
warnings
Diffstat (limited to 'src/routes/(app)/invoice')
| -rw-r--r-- | src/routes/(app)/invoice/[hash]/+page.svelte | 18 | ||||
| -rw-r--r-- | src/routes/(app)/invoice/sent/+page.svelte | 2 |
2 files changed, 11 insertions, 9 deletions
diff --git a/src/routes/(app)/invoice/[hash]/+page.svelte b/src/routes/(app)/invoice/[hash]/+page.svelte index 090a333f..a2f05cc9 100644 --- a/src/routes/(app)/invoice/[hash]/+page.svelte +++ b/src/routes/(app)/invoice/[hash]/+page.svelte @@ -4,7 +4,7 @@ import { tick, onMount, onDestroy } from 'svelte'; import { browser } from '$app/environment'; import { last } from '$lib/store'; - import { Avatar, Icon, Heart, Image, Qr } from '$comp'; + import { Avatar, Icon, Heart, Image } from '$comp'; import { t } from '$lib/translations'; import screenfull from 'screenfull'; @@ -91,7 +91,15 @@ </div> <div class="w-full"> - <img {src} class:p-4={full} class="w-[300px] mx-auto" bind:this={qr} on:click={toggle} /> + <img + {src} + class:p-4={full} + class="w-[300px] mx-auto" + bind:this={qr} + on:click={toggle} + on:keydown={toggle} + alt={address || text} + /> </div> {#if address} @@ -146,9 +154,3 @@ {/if} </div> </div> - -<style> - .full { - @apply p-8; - } -</style> diff --git a/src/routes/(app)/invoice/sent/+page.svelte b/src/routes/(app)/invoice/sent/+page.svelte index c4cbc5bb..59233617 100644 --- a/src/routes/(app)/invoice/sent/+page.svelte +++ b/src/routes/(app)/invoice/sent/+page.svelte @@ -1,6 +1,6 @@ <script> import { Avatar, Icon } from '$comp'; - export let user; + import { request } from "$lib/store"; </script> Invoice sent to |
