From 67440174b0a9d5972d628514d927eae7618ecb5c Mon Sep 17 00:00:00 2001
From: jonasled <git@jonasled.de>
Date: Tue, 9 Mar 2021 23:00:00 +0100
Subject: [PATCH] set image width to 100%, which fixes image wider as screen

---
 scss/_dialog.scss | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/scss/_dialog.scss b/scss/_dialog.scss
index 1b6f9a3..fdfb7a1 100644
--- a/scss/_dialog.scss
+++ b/scss/_dialog.scss
@@ -13,8 +13,8 @@
   background-color: rgba(0, 0, 0, 0.5);
 
   .dialogContent {
-    height: 80%;
-    width: 80%;
+    max-height: 80%;
+    max-width: 80%;
     background-color: white;
     border: 10px solid rgb(86, 86, 86);
     border-radius: 10px;
@@ -31,6 +31,8 @@
     width: auto;
     img {
       display: block;
+      width: 100%;
+      height: 100%;
     }
   }
 }
-- 
GitLab