We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 045bfbd commit 0f6f424Copy full SHA for 0f6f424
packages/qwik-image/src/lib/image.tsx
@@ -160,7 +160,7 @@ export const getSrcSet = async ({
160
let transformedHeight =
161
typeof height === 'string' ? parseInt(height, 10) : height;
162
if (height && aspectRatio) {
163
- transformedHeight = Math.round(breakpoint * aspectRatio);
+ transformedHeight = Math.round(breakpoint / aspectRatio);
164
}
165
166
if (!imageTransformer$) {
0 commit comments