diff --git a/res/forum/style.css b/res/forum/style.css
index 1c7d2a5..0962ce3 100644
--- a/res/forum/style.css
+++ b/res/forum/style.css
@@ -299,6 +299,9 @@ body
 
     padding: 1%;
 
+    width: fit-content;
+    height: fit-content;
+
     max-height: 80%;
     max-width: 80%;
 
@@ -320,4 +323,6 @@ body
 {
     max-width: 100%;
     max-height: 100%;
+
+    object-fit: scale-down;
 }
\ No newline at end of file