Skip to content
This repository has been archived by the owner on Oct 24, 2024. It is now read-only.

Commit

Permalink
Reduce GitHub image minimizer height
Browse files Browse the repository at this point in the history
  • Loading branch information
naveensingh committed Jan 26, 2024
1 parent 5ef77d5 commit 0a5dc21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion image-minimizer.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module.exports = async ({github, context}) => {
const IGNORE_KEY = '<!-- IGNORE IMAGE MINIFY -->';
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
Expand Down

0 comments on commit 0a5dc21

Please sign in to comment.