Skip to content

Commit

Permalink
Always scale the input image to desired output size. (#45)
Browse files Browse the repository at this point in the history
Fixes #44
  • Loading branch information
cramforce authored Oct 6, 2020
1 parent 9e0b7ea commit 6e94253
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _11ty/blurry-placeholder.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ module.exports = async function (src) {
<feFuncA type="discrete" tableValues="1 1"></feFuncA>
</feComponentTransfer>
</filter>
<image filter="url(#b)" x="0" y="0"
<image filter="url(#b)" preserveAspectRatio="none"
height="100%" width="100%"
xlink:href="${dataURI.src}">
</image>
Expand Down

0 comments on commit 6e94253

Please sign in to comment.