From 4c4d32458c49b36067e3af2e41b16e8050ceab4a Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Sat, 25 May 2024 14:34:52 +0200 Subject: [PATCH] scaling image --- res/forum/style.css | 5 +++++ 1 file changed, 5 insertions(+) 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