mirror of
https://github.com/withastro/astro.git
synced 2024-12-16 21:46:22 -05:00
944d24e9ee
* 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>
115 B
115 B
@astrojs/image |
---|
patch |
Do not pass width and height to the img element when wrapped in a picture element