0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-23 21:53:55 -05:00
astro/packages
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
..
astro [ci] format 2022-09-22 20:39:53 +00:00
astro-prism [ci] release (#4249) 2022-08-11 16:50:59 -07:00
astro-rss [ci] release (#4707) 2022-09-12 15:08:39 -04:00
create-astro [ci] format 2022-09-22 18:39:14 +00:00
integrations Update Picture.astro so it no longer passes height and width attributes (#4797) 2022-09-22 21:01:38 +00:00
markdown [ci] release (#4811) 2022-09-20 15:15:54 -04:00
telemetry Astro 1.0.0 (#4214) 2022-08-09 11:10:25 -05:00
webapi [ci] format 2022-09-22 18:50:12 +00:00