0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-23 21:53:55 -05:00
astro/packages/integrations
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
..
alpinejs docs: Update references to support channel in Discord. (#4872) 2022-09-26 21:02:05 +08:00
cloudflare [ci] release (#5046) 2022-10-13 12:29:24 -04:00
deno [ci] release (#5046) 2022-10-13 12:29:24 -04:00
image fix: updates <Picture /> to pass HTML attributes down to the <img /> element (#5038) 2022-10-20 19:42:36 +00:00
lit Document Lit's limitations in SSR (#4999) 2022-10-06 10:18:08 -04:00
mdx [ci] release (#4957) 2022-10-03 11:52:23 -04:00
netlify [ci] release (#5046) 2022-10-13 12:29:24 -04:00
node [ci] release (#5078) 2022-10-18 14:26:00 -04:00
partytown [ci] release (#4976) 2022-10-06 13:47:10 -04:00
preact [ci] release (#5019) 2022-10-10 11:44:22 -04:00
prefetch [ci] release (#5117) 2022-10-19 15:29:21 -04:00
react [ci] release (#5078) 2022-10-18 14:26:00 -04:00
sitemap Remove shamefully-hoist (#4842) 2022-09-28 23:13:33 +08:00
solid [ci] release (#5078) 2022-10-18 14:26:00 -04:00
svelte [ci] release (#5046) 2022-10-13 12:29:24 -04:00
tailwind [ci] release (#5078) 2022-10-18 14:26:00 -04:00
turbolinks docs: Standardize common integration READMEs (#4874) 2022-09-26 16:14:34 +02:00
vercel [ci] release (#5117) 2022-10-19 15:29:21 -04:00
vue [ci] release (#5117) 2022-10-19 15:29:21 -04:00