From 5ff950bcc0247b20b376badffca00e786c505c3e Mon Sep 17 00:00:00 2001
From: bytedream <bytedream@protonmail.com>
Date: Sun, 1 Dec 2024 00:48:01 +0100
Subject: [PATCH] do not overflow report & feedback over footer

---
 src/routes/feedback/+layout.svelte             | 4 ++--
 src/routes/report/[...url_hash]/+layout.svelte | 2 +-
 src/routes/report/[...url_hash]/+page.svelte   | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/routes/feedback/+layout.svelte b/src/routes/feedback/+layout.svelte
index 7d25c0b..a321c5e 100644
--- a/src/routes/feedback/+layout.svelte
+++ b/src/routes/feedback/+layout.svelte
@@ -1,5 +1,5 @@
-<div class="flex justify-center items-center w-full min-h-screen h-full">
-	<div class="absolute top-12 grid card w-11/12 xl:w-2/3 2xl:w-1/2 p-6 shadow-lg">
+<div class="flex justify-center items-center w-full">
+	<div class="mt-12 grid card w-11/12 xl:w-2/3 2xl:w-1/2 p-6 shadow-lg">
 		<slot />
 	</div>
 </div>
diff --git a/src/routes/report/[...url_hash]/+layout.svelte b/src/routes/report/[...url_hash]/+layout.svelte
index 9001a18..c281020 100644
--- a/src/routes/report/[...url_hash]/+layout.svelte
+++ b/src/routes/report/[...url_hash]/+layout.svelte
@@ -1,3 +1,3 @@
-<div class="flex justify-center items-center w-full min-h-screen h-full">
+<div class="flex justify-center items-center w-full">
 	<slot />
 </div>
diff --git a/src/routes/report/[...url_hash]/+page.svelte b/src/routes/report/[...url_hash]/+page.svelte
index 34f7bcc..1473a1b 100644
--- a/src/routes/report/[...url_hash]/+page.svelte
+++ b/src/routes/report/[...url_hash]/+page.svelte
@@ -14,7 +14,7 @@
 	<meta name="robots" content="noindex" />
 </svelte:head>
 
-<div class="absolute top-12 grid card w-11/12 xl:w-2/3 2xl:w-1/2 p-6 shadow-lg">
+<div class="mt-12 grid card w-11/12 xl:w-2/3 2xl:w-1/2 p-6 shadow-lg">
 	{#if data.draft}
 		<div class="col-[1] row-[1]" transition:fly={{ x: -200, duration: 300 }}>
 			<ReportDraft