aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/__layout.svelte
diff options
context:
space:
mode:
authorsecondl1ght <[email protected]>2022-07-30 20:45:19 -0600
committersecondl1ght <[email protected]>2022-07-30 20:45:19 -0600
commit27cbd543cece74228680d74f276eca89e13b557b (patch)
treebfec136e0ca6350897fa0e7a6126921e2f9b649b /src/routes/__layout.svelte
parent2bca310acc4ca22960c5902b402c2ae23d0f7755 (diff)
downloadcoinos-ui-27cbd543cece74228680d74f276eca89e13b557b.tar.gz
coinos-ui-27cbd543cece74228680d74f276eca89e13b557b.zip
add user public page
Diffstat (limited to 'src/routes/__layout.svelte')
-rw-r--r--src/routes/__layout.svelte11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/routes/__layout.svelte b/src/routes/__layout.svelte
index 736f38e8..b2cb8aae 100644
--- a/src/routes/__layout.svelte
+++ b/src/routes/__layout.svelte
@@ -30,8 +30,17 @@
</script>
{#if ready}
- <SvelteToast />
+ <SvelteToast options={{ reversed: true, intro: { y: 192 } }} />
<slot />
{:else}
<LoadingSplash />
{/if}
+
+<style>
+ :root {
+ --toastContainerTop: auto;
+ --toastContainerRight: auto;
+ --toastContainerBottom: 8rem;
+ --toastContainerLeft: calc(50vw - 8rem);
+ }
+</style>