Skip to content

Commit

Permalink
move button to the right
Browse files Browse the repository at this point in the history
  • Loading branch information
joeetwork committed Dec 11, 2023
1 parent 47f34f7 commit 23c1403
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/routes/token/[token]/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
import getMimeType from "$lib/util/get-mime-type";
import { metadataStore } from "$lib/util/stores/metadata";
import type { UITokenMetadata } from "$lib/types";
import Icon from "$lib/components/icon.svelte";
const address = $page.params.token;
const params = new URLSearchParams(window.location.search);
Expand Down Expand Up @@ -76,7 +77,15 @@
}
</script>

<button class="pl-5 pt-3 text-3xl" on:click={() => window.history.back()}>⬅</button>
<button
class="btn-ghost btn float-right mr-10 mt-1"
on:click={() => window.history.back()}
>
<Icon
id="arrowLeft"
size="lg"
/>
</button>

<TokenProvider
{address}
Expand Down

0 comments on commit 23c1403

Please sign in to comment.