diff --git a/templates/index.html b/templates/index.html
index 4c8173c..f51b744 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -8,7 +8,7 @@
         * {
             margin: 0;
             padding: 0;
-            overflow: hidden;
+            box-sizing: border-box;
         }
         body {
             display: flex;
@@ -18,8 +18,8 @@
             background: black;
         }
         img {
-            max-width: 100vw;
-            max-height: 100vh;
+            width: 100vw;
+            height: 100vh;
             object-fit: contain;
         }
     </style>