From 3018268e1b1600d25153b229a81c0dc4c5dd33f8 Mon Sep 17 00:00:00 2001 From: sistav Date: Sun, 3 May 2026 22:56:34 -0400 Subject: [PATCH] Made gif a bit smaller --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index e411aa4..a0a422c 100644 --- a/index.php +++ b/index.php @@ -20,7 +20,7 @@ include $_SERVER['DOCUMENT_ROOT'] . '/includes/head.php'; function sizeGif() { if (!img.naturalWidth) return; - var maxPx = Math.min(window.innerWidth, window.innerHeight) * 0.65; + var maxPx = Math.min(window.innerWidth, window.innerHeight) * 0.45; var scale = Math.min(maxPx / img.naturalWidth, maxPx / img.naturalHeight); img.style.width = Math.round(img.naturalWidth * scale) + 'px'; img.style.height = Math.round(img.naturalHeight * scale) + 'px';