diff --git a/src/components/MDX/IMG.astro b/src/components/MDX/IMG.astro index 6dfd1d2..6af8d23 100644 --- a/src/components/MDX/IMG.astro +++ b/src/components/MDX/IMG.astro @@ -5,12 +5,19 @@ const { src, alt } = Astro.props; import { getImageByPath } from "@lib/utils"; const image = getImageByPath(src); + +// width of container is 896, width of image is set to 1344 to allow for hover zoom --- { image && (
- {alt} + {alt}
{alt}
)