Skip to content

Commit

Permalink
fix: fix typo regression for height modifier (fixes #262)
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed May 12, 2021
1 parent bc4fc23 commit 9a93f19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime/image.ts
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ function getSizes (ctx: ImageCTX, input: string, opts: ImageSizesOptions) {
size,
screenMaxWidth,
media: `(max-width: ${screenMaxWidth}px)`,
src: ctx.$img!(input, { ...opts.modifiers, width: _cWidth, _cHeight }, opts)
src: ctx.$img!(input, { ...opts.modifiers, width: _cWidth, height: _cHeight }, opts)
})
}

Expand Down

0 comments on commit 9a93f19

Please sign in to comment.