ed2dfdae5b
* fix: also pass attrs to underlying img `class` for direct img styling, `width` & `height` to prevent layout shift, etc need to be passed to the underlying img tag to work. * remove redundant attr from picture tag * revert to previous commit - seemed to break some tests - can't deal with fixing that right now, maybe later * only passing attributes to the img * adding a note to the README * chore: add changeset Co-authored-by: Tony Sullivan <tony.f.sullivan@outlook.com> |
||
---|---|---|
.. | ||
fixtures | ||
background-color-image-ssg.test.js | ||
background-color-image-ssr.test.js | ||
get-image.test.js | ||
image-ssg.test.js | ||
image-ssr-build.test.js | ||
image-ssr-dev.test.js | ||
no-alt-text-image-ssg.test.js | ||
no-alt-text-image-ssr.test.js | ||
no-alt-text-picture-ssg.test.js | ||
no-alt-text-picture-ssr.test.js | ||
picture-ssg.test.js | ||
picture-ssr-build.test.js | ||
picture-ssr-dev.test.js | ||
rotation.test.js | ||
sharp.test.js | ||
squoosh-service.test.js | ||
test-utils.js | ||
with-mdx.test.js |