diff --git a/src/components/Prismic/Image.astro b/src/components/Prismic/Image.astro index c5ab800..1d1e6de 100644 --- a/src/components/Prismic/Image.astro +++ b/src/components/Prismic/Image.astro @@ -12,10 +12,12 @@ const image = { }; --- -{image.alt} + + {image.alt} + diff --git a/src/styles/layout.css b/src/styles/layout.css index 490164d..b91f1cf 100644 --- a/src/styles/layout.css +++ b/src/styles/layout.css @@ -28,6 +28,7 @@ figure { img { display: block; max-width: 100%; + height: auto; margin: var(--gap) 0; }