diff options
| author | Adam Soltys <[email protected]> | 2026-02-10 14:36:53 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-02-11 15:34:40 -0800 |
| commit | 146ceebc067d872f6974fdfab698164542a191bf (patch) | |
| tree | badcfbfdd58570ad0cf005b034d4fffad1c21310 /src/routes | |
| parent | a4c2fd416f014433125f4d463a156b96c3f73642 (diff) | |
| download | coinos-ui-146ceebc067d872f6974fdfab698164542a191bf.tar.gz coinos-ui-146ceebc067d872f6974fdfab698164542a191bf.zip | |
fix toast styles
Diffstat (limited to 'src/routes')
| -rw-r--r-- | src/routes/+layout.svelte | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index 704278b6..74bb7ed7 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -101,19 +101,13 @@ $effect(() => { </main> {/if} -<style global> - :root { - --toastContainerTop: auto; - --toastContainerRight: auto; - --toastContainerBottom: 8rem; - --toastContainerLeft: calc(50vw - 8rem); - --toastBackground: #292929; - +<style> + :global(:root) { --safe-area-inset-top: 0px; --safe-area-inset-bottom: 0px; } - main { + :global(main) { padding-top: var(--safe-area-inset-top); padding-bottom: var(--safe-area-inset-bottom); } |
