From 5ed43a68acb40ebd3c1c382ab21e7044d898ac6a Mon Sep 17 00:00:00 2001 From: "Thomas G. Lopes" <26071571+TGlide@users.noreply.github.com> Date: Thu, 19 Jun 2025 17:23:35 +0100 Subject: [PATCH] fix further --- src/app.css | 21 +-------------------- src/app.html | 5 +---- src/routes/chat/+layout.svelte | 4 ++++ 3 files changed, 6 insertions(+), 24 deletions(-) diff --git a/src/app.css b/src/app.css index fabdf61..7e86435 100644 --- a/src/app.css +++ b/src/app.css @@ -211,23 +211,6 @@ --shadow-2xl: var(--shadow-2xl); } -@utility fill-device { - height: 100vh; - height: 100dvh; /* Dynamic viewport height - newer browsers */ - - /* Alternative: Use env() for safe areas */ - min-height: calc(100vh - env(safe-area-inset-top) - env(safe-area-inset-bottom)); - - /* Ensure full width */ - width: 100vw; - width: 100dvw; /* Dynamic viewport width */ - - /* Remove default margins/padding */ - margin: 0; - padding: 0; - overflow-x: hidden; -} - @utility fill-device-height { height: 100svh; @@ -240,9 +223,7 @@ } body { - @apply bg-background text-foreground bg-noise fill-device; - position: fixed; - overflow: clip; + @apply bg-background text-foreground bg-noise fill-device-height w-full; } } diff --git a/src/app.html b/src/app.html index 824b419..fc6715b 100644 --- a/src/app.html +++ b/src/app.html @@ -3,10 +3,7 @@
- +