diff --git a/index.html b/index.html
index afb7c4cb7ba8d8465391614ec87179b36d443070..a367456c4aaba4778385a0339c1bed7ff380056d 100644
--- a/index.html
+++ b/index.html
@@ -3,14 +3,13 @@
 		<title>QR</title>
 	</head>
 	<style>
-		#qrcode {
-			position: absolute;
-			top: 50%;
-			left: 50%;
-			margin-top: -50px;
-			margin-left: -50px;
-			width: 100px;
-			height: 100px;
+		#qrcode > * {
+			padding: 0 5%;
+			max-width:90%;
+			max-height:90%;
+			width: 100%;
+			height: 100%;
+			object-fit: contain;
 		}
 
 		footer {