aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes
diff options
context:
space:
mode:
Diffstat (limited to 'src/routes')
-rw-r--r--src/routes/+layout.svelte12
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);
}