astro/.changeset
Emmanuel Chucks ed2dfdae5b
fix: updates <Picture /> to pass HTML attributes down to the <img /> element (#5038)
* 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>
2022-10-20 19:42:36 +00:00
..
config.json Update changesets (#3434) 2022-05-24 11:38:25 -05:00
README.md Migrate to yarn monorepo (#157) 2021-04-30 16:33:35 -05:00
wicked-laws-heal.md fix: updates <Picture /> to pass HTML attributes down to the <img /> element (#5038) 2022-10-20 19:42:36 +00:00

Changesets

Hello and welcome! This folder has been automatically generated by @changesets/cli, a build tool that works with multi-package repos, or single-package repos to help you version and publish your code. You can find the full documentation for it in our repository

We have a quick list of common questions to get you started engaging with this project in our documentation