diff options
| author | secondl1ght <[email protected]> | 2022-07-30 14:24:43 -0600 |
|---|---|---|
| committer | secondl1ght <[email protected]> | 2022-07-30 14:24:43 -0600 |
| commit | 789ac78389bfe86c2170172796de333ba08f6d4b (patch) | |
| tree | 55cf5631a26c2286a411f7376f6263a7c31d8669 /src | |
| parent | 62fdcb0c7b91241072cdbee865833d38594116b0 (diff) | |
| download | coinos-ui-789ac78389bfe86c2170172796de333ba08f6d4b.tar.gz coinos-ui-789ac78389bfe86c2170172796de333ba08f6d4b.zip | |
fix header anchor on login and make toast dismissable
Diffstat (limited to 'src')
| -rw-r--r-- | src/components/RegisterOrLogin.svelte | 8 | ||||
| -rw-r--r-- | src/routes/__layout.svelte | 2 |
2 files changed, 6 insertions, 4 deletions
diff --git a/src/components/RegisterOrLogin.svelte b/src/components/RegisterOrLogin.svelte index 3b51346b..cbaad236 100644 --- a/src/components/RegisterOrLogin.svelte +++ b/src/components/RegisterOrLogin.svelte @@ -27,9 +27,11 @@ </script> <div class="pt-10"> - <a href="/"> - <Icon icon="logo" style="mx-auto mb-10" /> - </a> + <div class="w-[243px] mx-auto mb-10"> + <a href="/"> + <Icon icon="logo" /> + </a> + </div> <div class="flex justify-center items-center"> <div class="shadow-xl rounded-3xl p-10 pb-12 space-y-5 w-full mx-5 md:mx-0 md:w-[400px]"> diff --git a/src/routes/__layout.svelte b/src/routes/__layout.svelte index 70c192b7..d26ccfed 100644 --- a/src/routes/__layout.svelte +++ b/src/routes/__layout.svelte @@ -18,7 +18,7 @@ if (protectedRoutes.find((p) => $page.url.pathname.match(p))) { if (!$token) { goto('/login'); - toast.push('Please login to continue.', { dismissable: false }); + toast.push('Please login to continue.'); } user.subscribe((u) => (ready = true)); } else { |
