From 6c6fdd1b7b65eb4be23da7727e4534a39797b211 Mon Sep 17 00:00:00 2001
From: ENGO150 <v.smejkal06@gmail.com>
Date: Fri, 24 May 2024 20:09:45 +0200
Subject: [PATCH] fixed upload_popum positioning

---
 res/forum/style.css | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/res/forum/style.css b/res/forum/style.css
index 39f4205..69be051 100644
--- a/res/forum/style.css
+++ b/res/forum/style.css
@@ -141,22 +141,25 @@ body
 
 #upload_popup
 {
-    position: relative;
+    position: absolute;
     display: none;
 
     flex-direction: column;
     align-items: start;
 
     width: fit-content;
-    height: auto;
-    margin: 0 auto;
+    height: fit-content;
     padding: 2vh;
 
     border: solid 1px #3E392F;
     border-radius: 0.5vh 0.5vh;
     background: #6F7270;
 
-    margin-top: 19%;
+    left: 0;
+    right: 0;
+    top: 0;
+    bottom: 0;
+    margin: auto;
 }
 
 #upload_popup div + div