void: Fix address bar height issue on firefox mobile
diff --git a/apps/void/src/app.postcss b/apps/void/src/app.postcss
index 76589de..3c7bd44 100644
--- a/apps/void/src/app.postcss
+++ b/apps/void/src/app.postcss
@@ -46,4 +46,7 @@
@apply bg-background text-foreground;
font-feature-settings: 'rlig' 1, 'calt' 1;
}
+ html, body, body > div:first-of-type {
+ @apply h-full;
+ }
}
diff --git a/apps/void/src/routes/+layout.svelte b/apps/void/src/routes/+layout.svelte
index 9b019ec..90cc1bc 100644
--- a/apps/void/src/routes/+layout.svelte
+++ b/apps/void/src/routes/+layout.svelte
@@ -1,7 +1,6 @@
<script>
import { BackgroundStars } from '$components/decoration/BackgroundStars';
import '../app.postcss';
- import '../app.postcss';
</script>
<slot />
diff --git a/apps/void/src/routes/+page.svelte b/apps/void/src/routes/+page.svelte
index a939762..9c77a75 100644
--- a/apps/void/src/routes/+page.svelte
+++ b/apps/void/src/routes/+page.svelte
@@ -52,7 +52,7 @@
focusMessageInput();
}}
method="post"
- class="p-2 flex flex-col h-screen gap-2 justify-end pt-0"
+ class="p-2 flex flex-col h-full gap-2 justify-end pt-0"
>
<div class="flex p-2 pt-0 flex-col justify-end overflow-hidden pastMessages">
{#each (messages.length === 0 ? [systemMessage] : ['']).concat(messages) as message, index (`${index} ${message}`)}