Skip to content

Commit 44bc6bf

Browse files
authored
Set image-minimizer to specify image width ...
Fix TeamNewPipe#9469 for portrait like orientations
1 parent aad5e26 commit 44bc6bf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/image-minimizer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ module.exports = async ({github, context}) => {
8686
if (shouldModify) {
8787
wasMatchModified = true;
8888
console.log(`Modifying match '${match}'`);
89-
return `<img alt="${g1}" src="${g2}" height=${IMG_MAX_HEIGHT_PX} />`;
89+
return `<img alt="${g1}" src="${g2}" width=${IMG_MAX_WIDTH_PX} />`;
9090
}
9191

9292
console.log(`Match '${match}' is ok/will not be modified`);

0 commit comments

Comments
 (0)