diff --git a/scss/_dialog.scss b/scss/_dialog.scss
index 1b6f9a3e6b12154b334479123eef6b701825a2c2..fdfb7a12f1fddb9e99486b76faed3d7d0b22d1db 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%;
     }
   }
 }