From fd568a648a44f7f45fc8503a4a6efa9db49f5e87 Mon Sep 17 00:00:00 2001
From: Jake <j.vondoemming@stud.uni-goettingen.de>
Date: Sun, 16 Oct 2022 02:46:09 +0200
Subject: [PATCH] set image max height

---
 theme/static/css/main.css | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/theme/static/css/main.css b/theme/static/css/main.css
index f3163bd..88f41b9 100644
--- a/theme/static/css/main.css
+++ b/theme/static/css/main.css
@@ -22,6 +22,7 @@
 	--header-menu-button-size: 3rem;
 	--outline-color: #337AB7;
 	--col-width: auto;
+	--max-image-height: 60vh;
 }
 
 * {
@@ -447,8 +448,9 @@ sup {
 }
 
 .content img {
-	width: 100%;
+	/* width: 100%; */
 	max-width: 100%;
+	max-height: var(--max-image-height);
 	overflow: scroll;
 }
 
-- 
GitLab