0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-23 21:53:55 -05:00
astro/packages/integrations/image/components
Gerard de Brieder 944d24e9ee
Update Picture.astro so it no longer passes height and width attributes (#4797)
* Update Picture.astro

the image variable of getPicture contains a width and height property, which we usually require. In this case, the image is wrapped in a picture tag and the img tag itself should not have a width and height property as this will break the responsiveness of the image provided by the picture tag.

* added changeset

* fixing SSG picture tests that were expecting img dimensions

Co-authored-by: Tony Sullivan <tony.f.sullivan@outlook.com>
2022-09-22 21:01:38 +00:00
..
Image.astro [@astrojs/image] Fixes a regression in remote image filenames (#4649) 2022-09-07 13:56:07 +00:00
index.ts [ci] format 2022-09-01 21:26:15 +00:00
Picture.astro Update Picture.astro so it no longer passes height and width attributes (#4797) 2022-09-22 21:01:38 +00:00