From 6aea0f93107e59bc9b48174b5041b8f832a5cd46 Mon Sep 17 00:00:00 2001 From: Naveen Date: Sat, 27 Jan 2024 00:39:46 +0530 Subject: [PATCH] Reduce GitHub image minimizer height --- image-minimizer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/image-minimizer.js b/image-minimizer.js index 1041f0b73..6ec67b573 100644 --- a/image-minimizer.js +++ b/image-minimizer.js @@ -6,7 +6,7 @@ module.exports = async ({github, context}) => { const IGNORE_KEY = ''; const IGNORE_ALT_NAME_END = 'ignoreImageMinify'; // Targeted maximum height - const IMG_MAX_HEIGHT_PX = 600; + const IMG_MAX_HEIGHT_PX = 400; // maximum width of GitHub issues/comments const IMG_MAX_WIDTH_PX = 800; // all images that have a lower aspect ratio (-> have a smaller width) than this will be minimized