Merge pull request #8022 from enter-a-random-username/patch-6

This commit is contained in:
Bill Thornton
2026-06-16 00:29:02 -04:00
committed by GitHub
+2 -2
View File
@@ -154,8 +154,8 @@ export function getCardImageUrl({
imgType,
{
// Dimensions must be rounded or the API will reject the request
fillHeight: height ? Math.round(height * dpr) : undefined,
fillWidth: width ? Math.round(width * dpr) : undefined,
fillHeight: height ? Math.ceil(height * dpr) : undefined,
fillWidth: width ? Math.ceil(width * dpr) : undefined,
quality: 96,
tag: imgTag
}